Skip to content

Commit

Permalink
remove extract from the language
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiko Fernandez Reyes committed May 31, 2016
1 parent ed9fc24 commit 8737773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parser/Parser/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ lexer =
,"when"
,"liftf"
,"liftv"
,"extract"
-- ,"extract"
,"each"
,"typedef"
],
Expand Down Expand Up @@ -256,7 +256,7 @@ program = do
imports <- many importdecl
etls <- embedTL
let etl = [etls]
decls <- many $ (CDecl <$> classDecl) <|> (TDecl <$> traitDecl) <|> (TDef <$> typedef) <|> (FDecl <$> function)
decls <- many $ (CDecl <$> classDecl) <|> (TDecl <$> traitDecl) <|> (TDef <$> typedef) <|> (FDecl <$> function)
let (classes, traits, typedefs, functions) = partitionDecls decls
eof
return Program{source, bundle, etl, imports, typedefs, functions, traits, classes}
Expand Down

0 comments on commit 8737773

Please sign in to comment.