1{-# LANGUAGE OverloadedStrings #-}
2--compile with `cabal exec ghc -- examples/DynamicAtomFunctions.hs -package project-m36`
3--load with `loadatomfunctions "DynamicAtomFunctions" "someAtomFunctions" "examples/DynamicAtomFunctions.o"`
5module DynamicAtomFunctions where
8someAtomFunctions :: [AtomFunction]
9someAtomFunctions = [AtomFunction{
10 atomFuncName = "constTrue",
11 atomFuncType = [TypeVariableType "a", BoolAtomType],
12 atomFuncBody = AtomFunctionBody Nothing (\(x:_) -> pure (BoolAtom True))}]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list