diff options
author | Camil Staps | 2016-02-01 17:47:57 +0100 |
---|---|---|
committer | Camil Staps | 2016-02-01 17:47:57 +0100 |
commit | 921200f7d3790ba5a1f61d750b6d84bf917db966 (patch) | |
tree | 3409353cfe827abdc0b9fabacf8bef787d1912ed /CleanC.dcl | |
parent | Better practices string copying (diff) |
Diffstat (limited to 'CleanC.dcl')
-rw-r--r-- | CleanC.dcl | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -23,12 +23,16 @@ SOFTWARE. */ definition module CleanC from StdClass import class toInt, class toString, class toReal, - class fromInt, class fromString, class fromReal + class fromInt, class fromString, class fromReal, + class == :: State -:: CType = Int | String | Real -:: CParam = CI Int | CS String | CR Real +:: CType = Int | String | Real | Void +:: CParam = CI Int | CS String | CR Real | CV + +instance == CType +instance == CParam cNewState :: *State |