Merge branch 'master' into lifetimez-with-lambdas

This commit is contained in:
Erik Svedäng 2019-10-29 10:17:19 +01:00
commit bfbd86711b
3 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
(doc errorln "prints a string ref to stderr, appends a newline.")
(register errorln (Fn [(Ref String)] ()))
(doc error "prints a string ref to stderr, does not append a newline.")
(register print (Fn [(Ref String)] ()))
(register error (Fn [(Ref String)] ()))
(doc get-line "gets a line from stdin.")
(register get-line (Fn [] String))
(doc get-char "gets a character from stdin.")

View File

@ -265,10 +265,10 @@
</h3>
</a>
<div class="description">
doc-stub
external
</div>
<p class="sig">
a
(λ [&amp;String] ())
</p>
<span>

View File

@ -104,7 +104,7 @@ parseInternalPattern = do maybeAnchor <- Parsec.optionMaybe (Parsec.char '^')
c <- Parsec.oneOf ['1', '2', '3', '4', '5', '6', '7', '8', '9',
'a', 'c', 'd', 'g', 'l', 'p', 's', 'u', 'w',
'x', 'n', 't', 'b', 'f', '[', ']', '\\', '$',
'(', ')', '^', '"', '*', '.']
'(', ')', '^', '"', '*', '.', '-']
case c of
'b' -> do c1 <- Parsec.noneOf ['"']
c2 <- Parsec.noneOf ['"']