From: Matthijs Kooijman Date: Thu, 9 Apr 2009 16:25:53 +0000 (+0200) Subject: A word has a width, not a length. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=8f26d216ad75c8e6cb017ae8b0f5e6f1cd62f505;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git A word has a width, not a length. --- diff --git a/CoreTools.hs b/CoreTools.hs index a911456..06b7a62 100644 --- a/CoreTools.hs +++ b/CoreTools.hs @@ -46,7 +46,7 @@ eval_tfp_int ty = core <- toCore modules expr execCore core --- | Get the length of a SizedWord type +-- | Get the width of a SizedWord type sized_word_len :: Type.Type -> Int sized_word_len ty = eval_tfp_int len