aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-09-04 14:08:18 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-09-04 14:08:18 +0100
commit8e678a017e970e3cca2bbef606b9f8eaa3732353 (patch)
tree400a6703c65978736ef809c4af9d9cd7c92343d4
parenta86031403d792792b41d8ae3795e3281b8876c63 (diff)
downloadmicro-lang-hs-8e678a017e970e3cca2bbef606b9f8eaa3732353.tar.gz
micro-lang-hs-8e678a017e970e3cca2bbef606b9f8eaa3732353.zip
Typo
-rw-r--r--src/Compiler.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compiler.hs b/src/Compiler.hs
index 0511644..3b41e79 100644
--- a/src/Compiler.hs
+++ b/src/Compiler.hs
@@ -62,7 +62,7 @@ showMaybet Nothing = "()"
showMaybet (Just t) = show t
-- | @typecheckVal value typ@ resolves @value@ and compares it to @typ@ type,
--- returning a string describing an error or Nothin in case of type match.
+-- returning a string describing an error or Nothing in case of type match.
typecheckVal :: A.Expr -> Maybe A.Type -> State CompState (Maybe String)
typecheckVal value typ = do
r <- compile value