Add support for using ∘ for function composition.
This commit is contained in:
parent
f788fd0ec2
commit
86f2e33949
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ symOp = do op <- many1 (satisfy isOp)
|
|||
guard (op `notElem` [ "=", "..", "->", "--", "|", "\8594" ])
|
||||
case op of
|
||||
"." -> notFollowedBy lower >> return op
|
||||
"\8728" -> return "."
|
||||
_ -> return op
|
||||
|
||||
arrow :: IParser String
|
||||
|
|
Loading…
Reference in a new issue