mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
Fixes for the haddock documentation
This commit is contained in:
@@ -98,7 +98,7 @@ delta f vs =
|
||||
Plus -> ap2 ((+)::Int->Int->Int)
|
||||
EqInt -> ap2 ((==)::Int->Int->Bool)
|
||||
LessInt -> ap2 ((<)::Int->Int->Bool)
|
||||
{- | Show | Read | ToStr | MapStr | EqVal -}
|
||||
{- -- | Show | Read | ToStr | MapStr | EqVal -}
|
||||
Error -> ap1 VError
|
||||
-- Canonical values:
|
||||
PBool -> canonical
|
||||
|
||||
@@ -11,7 +11,7 @@ data Value
|
||||
| VCApp QIdent [Value] -- from QC, constructors
|
||||
| VGen Int [Value] -- for lambda bound variables, possibly applied
|
||||
| VMeta MetaId Env [Value]
|
||||
-- | VClosure Env Term -- used in Typecheck.ConcreteNew
|
||||
-- -- | VClosure Env Term -- used in Typecheck.ConcreteNew
|
||||
| VAbs BindType Ident Binding -- used in Compute.ConcreteNew
|
||||
| VProd BindType Value Ident Binding -- used in Compute.ConcreteNew
|
||||
| VInt Int
|
||||
@@ -32,7 +32,7 @@ data Value
|
||||
| VFV [Value]
|
||||
| VAlts Value [(Value, Value)]
|
||||
| VStrs [Value]
|
||||
-- | VGlue Value Value -- hmm
|
||||
-- -- | VGlue Value Value -- hmm
|
||||
| VExtR Value Value -- hmm
|
||||
| VError String
|
||||
deriving (Eq,Show)
|
||||
|
||||
@@ -17,10 +17,10 @@ import Data.Char
|
||||
> langs Eng Fin Swe
|
||||
|
||||
-- baseline rules: semicolon-separated line-by-line entries update abs and cncs, adding to S
|
||||
cheers ; skål ; terveydeksi
|
||||
cheers ; skål ; terveydeksi
|
||||
|
||||
-- alternatives within a language are comma-separated
|
||||
cheers ; skål ; terveydeksi, kippis
|
||||
cheers ; skål ; terveydeksi, kippis
|
||||
|
||||
-- more advanced: verbatim abstract rules prefixed by "> abs"
|
||||
> abs cat Drink ;
|
||||
|
||||
@@ -42,7 +42,7 @@ data AExp =
|
||||
| AApp AExp AExp Val
|
||||
| AAbs Ident Val AExp
|
||||
| AProd Ident AExp AExp
|
||||
-- | AEqs [([Exp],AExp)] --- not used
|
||||
-- -- | AEqs [([Exp],AExp)] --- not used
|
||||
| ARecType [ALabelling]
|
||||
| AR [AAssign]
|
||||
| AP AExp Label Val
|
||||
|
||||
Reference in New Issue
Block a user