X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=Constants.hs;h=cfb9d555faec4f4e2b58b197e2aef1dc0c5f2f55;hb=033234e675f920e7577427a7328ede133ea40f94;hp=43cc189557b923e276e8afde9c8ad66dc83df668;hpb=02534f209c10759b7f1c8d3eedff5c742570de76;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git diff --git a/Constants.hs b/Constants.hs index 43cc189..cfb9d55 100644 --- a/Constants.hs +++ b/Constants.hs @@ -95,8 +95,8 @@ lengthId = "length" -- | isnull (function null in original Haskell source) function identifier -isnullId :: String -isnullId = "isnull" +nullId :: String +nullId = "null" -- | replace function identifier @@ -157,6 +157,10 @@ reverseId = "reverse" copyId :: String copyId = "copy" +-- | copyn function identifier +copynId :: String +copynId = "copyn" + -- | map function identifier mapId :: String mapId = "map" @@ -165,6 +169,22 @@ mapId = "map" zipWithId :: String zipWithId = "zipWith" +-- | foldl function identifier +foldlId :: String +foldlId = "foldl" + +-- | foldr function identifier +foldrId :: String +foldrId = "foldr" + +-- | zip function identifier +zipId :: String +zipId = "zip" + +-- | unzip function identifier +unzipId :: String +unzipId = "unzip" + -- | hwxor function identifier hwxorId :: String hwxorId = "hwxor" @@ -181,6 +201,8 @@ hwnotId = "hwnot" hwandId :: String hwandId = "hwand" +lengthTId :: String +lengthTId = "lengthT" ------------------ -- VHDL type marks