-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add compile-time check for terminating decimal #27
Comments
Hi @chshersh, Would you be able to confirm whether this is still an issue? |
@yigitozkavci Sure, this is still an issue. Well, more like a feature. TODO is removed from a code because we convert TODOs in code to GitHub issues. You can reproduce like this in ghci> type instance UnitSymbol 7000 = "invalid"
ghci> showMemory (toMemory @7000 $ bit 4) The output of the last command will be an infinite string. But what we want is a compile-time error with good error message in such cases. |
Thank you, I'm on it then :) |
See this comment:
membrain/src/Membrain/Memory.hs
Line 52 in 0ed5b57
The text was updated successfully, but these errors were encountered: