mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 00:22:51 -06:00
unlexer concat
This commit is contained in:
@@ -75,6 +75,7 @@ import MoreCustom -- either small/ or big/. The one in Small is empty.
|
||||
import UseIO
|
||||
|
||||
import Monad
|
||||
import Char
|
||||
|
||||
-- character codings
|
||||
import Unicode
|
||||
@@ -365,6 +366,7 @@ customUntokenizer =
|
||||
(strCI "unwords", const $ id) -- DEFAULT
|
||||
,(strCI "text", const $ formatAsText)
|
||||
,(strCI "code", const $ formatAsCode)
|
||||
,(strCI "concat", const $ filter (not . isSpace))
|
||||
,(strCI "textlit", const $ formatAsTextLit)
|
||||
,(strCI "codelit", const $ formatAsCodeLit)
|
||||
,(strCI "concat", const $ concatRemSpace)
|
||||
|
||||
Reference in New Issue
Block a user