mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
db9cfc0b2f
commit
c50b16610f
|
@ -600,7 +600,7 @@ internalEntries = do
|
||||||
entry $ bindMatch "parse-top" $ \case
|
entry $ bindMatch "parse-top" $ \case
|
||||||
|
|
||||||
[SymbolVal w, LitStrVal s] -> do
|
[SymbolVal w, LitStrVal s] -> do
|
||||||
pure $ parseTop s & either (const nil) (mkList . fmap (mkForm w . List.singleton) . fmap fixContext)
|
pure $ parseTop s & either (const nil) (mkForm w . fmap fixContext)
|
||||||
|
|
||||||
[LitStrVal s] -> do
|
[LitStrVal s] -> do
|
||||||
pure $ parseTop s & either (const nil) (mkList . fmap fixContext)
|
pure $ parseTop s & either (const nil) (mkList . fmap fixContext)
|
||||||
|
|
Loading…
Reference in New Issue