Closed ghost closed 3 years ago
Erhm... (str length 0 ==)
← sure about that? 😉
If you change that to (str length 1 ==)
everything works as expected 😄
Erhm...
(str length 0 ==)
← sure about that? 😉If you change that to
(str length 1 ==)
everything works as expected 😄
I ... I so laughed. 😄 Okey, i changed and it workwd. Thanks a lot !!!
The above produces:
But that must worked as putting
"a"
on the terminal. I think, expectation seems not working right. When i give a string into symbol then the symbol infers it asstring
notchar
. Interesting. Why doesn't the constraint work?I cannot control my expectations for typeclasses. My Question:
What is wrong at my code? Could you fix it?