Commit 44591c3d authored by Camil Staps's avatar Camil Staps 🐧

Update @type documentation of Many, Some, and Optional

parent f290fbe9
......@@ -20,17 +20,17 @@ import Regex.Print
| WordBreak !Bool
/**
* @type Regex
* @type !Greediness -> Regex
*/
Many g :== Repeated g 0 Nothing
/**
* @type Regex
* @type !Greediness -> Regex
*/
Some g :== Repeated g 1 Nothing
/**
* @type Regex
* @type !Greediness -> Regex
*/
Optional g :== Repeated g 0 (Just 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment