projekty
/
fp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more work on Hindley-Milner
[fp.git]
/
src
/
Lambda
/
Parser
/
Fancy.hs
diff --git
a/src/Lambda/Parser/Fancy.hs
b/src/Lambda/Parser/Fancy.hs
index
b0f0c2d
..
9a1deb3
100644
(file)
--- a/
src/Lambda/Parser/Fancy.hs
+++ b/
src/Lambda/Parser/Fancy.hs
@@
-1,7
+1,4
@@
-{-# OPTIONS_GHC
- -fno-warn-unused-do-bind
- -fno-warn-orphans
-#-}
+{-# OPTIONS_GHC -fno-warn-unused-do-bind -fno-warn-orphans #-}
{-# LANGUAGE PatternSynonyms #-}
-- |
{-# LANGUAGE PatternSynonyms #-}
-- |
@@
-12,13
+9,17
@@
-- Maintainer : tomik.musil@gmail.com
-- Stability : experimental
--
-- Maintainer : tomik.musil@gmail.com
-- Stability : experimental
--
--- Parser for λ-terms.
'.
' in λ implies brackets to the end of the context.
+-- Parser for λ-terms.
\'.\
' in λ implies brackets to the end of the context.
-- TODO: proper documentation
module Lambda.Parser.Fancy
-- TODO: proper documentation
module Lambda.Parser.Fancy
- ( tRead
+ (
+ -- * Main parser
+ tRead
, parseTerm
, parseTerm
+ -- * Auxiliary parsers
+ , parseVar
) where
import Data.Text as T hiding (map)
) where
import Data.Text as T hiding (map)