diff options
author | Camil Staps | 2018-01-02 22:28:13 +0100 |
---|---|---|
committer | Camil Staps | 2018-01-02 22:28:13 +0100 |
commit | 82b4d838ee16fea80bfc0da630603273f7cba6c2 (patch) | |
tree | 1762a3ae13ae7b9758325606e301176ee1c61a67 /assignment-13/Bootstrap.dcl | |
parent | Remove value from cashModel; add further explanation to gastje (diff) |
Start with assignment 13
Diffstat (limited to 'assignment-13/Bootstrap.dcl')
-rw-r--r-- | assignment-13/Bootstrap.dcl | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/assignment-13/Bootstrap.dcl b/assignment-13/Bootstrap.dcl new file mode 100644 index 0000000..682714c --- /dev/null +++ b/assignment-13/Bootstrap.dcl @@ -0,0 +1,33 @@ +definition module Bootstrap + +import ufpl + +rwBool :: String Bool -> Expr Bool RW +roBool :: String Bool -> Expr Bool RO + +rwInt :: String Int -> Expr Int RW +roInt :: String Int -> Expr Int RO +rwUInt :: String Int -> Expr Int RW +roUInt :: String Int -> Expr Int RO + +rwLong :: String Int -> Expr Int RW +roLong :: String Int -> Expr Int RO +rwULong :: String Int -> Expr Int RW +roULong :: String Int -> Expr Int RO + +boolmap :: Bimap Bool CExpr +intmap :: Bimap Int CExpr +longmap :: Bimap Int CExpr + +b0 :: Expr Bool RO +b1 :: Expr Bool RO +b2 :: Expr Bool RO +b3 :: Expr Bool RO +b4 :: Expr Bool RO + +millis :: Expr Int RO + +false :: Expr Bool RO +true :: Expr Bool RO + +rts :: String |