1Parse.optional(3kaya)        Kaya module reference       Parse.optional(3kaya)
2
3
4

NAME

6       Parse::optional - Parse a string optionally.
7

SYNOPSIS

9       Maybe<a> optional( Parser<a>  parse, var ParseState st )
10

ARGUMENTS

12       parse The parser to use
13
14       st The current parsing state
15

DESCRIPTION

17       Parse a string optionally, returning nothing if the parser failed.
18

AUTHORS

20       Kaya   standard  library  by  Edwin  Brady,  Chris  Morris  and  others
21       (kaya@kayalang.org). For further information see http://kayalang.org/
22

LICENSE

24       The Kaya standard library is free software;  you  can  redistribute  it
25       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
26       License (version 2.1 or any later version) as  published  by  the  Free
27       Software Foundation.
28
29
30
31Kaya                             December 2010           Parse.optional(3kaya)
Impressum