mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 02:32:50 -06:00
Add support for literals
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
concrete LiteralsCnc of Literals = open Prelude in {
|
||||
lincat S = SS ;
|
||||
lin
|
||||
mkString s = s ;
|
||||
mkString s = ss ("«" ++ s.s ++ "»") ;
|
||||
mkInt s = s ;
|
||||
mkFloat s = s ;
|
||||
|
||||
and s1 s2 = ss (s1.s ++ "and" ++ s2.s) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user