mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-10 13:29:32 -06:00
gfse: supply information about what's defined in the exampe language to the server functions for example-based grammar writing
This commit is contained in:
@@ -42,8 +42,8 @@ data Environ = Env {getTypeMap :: TypeMap, -- mapping between a
|
||||
}
|
||||
|
||||
|
||||
getNext :: Environ -> ([MyFunc],[MyFunc])
|
||||
getNext env =
|
||||
getNext :: Environ -> Environ -> ([MyFunc],[MyFunc])
|
||||
getNext env example_env =
|
||||
let sgs = getSigs env
|
||||
allfuncs = getAll env
|
||||
names = Set.fromList $ map getName $ concat $ Map.elems sgs
|
||||
|
||||
Reference in New Issue
Block a user