Why does Haskell allow a function to be defined with a (seemingly) non-existent type?
Apologies in advance if this has been asked before or is too basic, but I am completely new to Haskell and have been experimenting in GHCi when I accidentally defined a function which I would have expected to throw an error.
Why does Haskell allow a function to be defined with a (seemingly) non-existent type?
Apologies in advance if this has been asked before or is too basic, but I am completely new to Haskell and have been experimenting in GHCi when I accidentally defined a function which I would have expected to throw an error.
Why does Haskell allow a function to be defined with a (seemingly) non-existent type?
Apologies in advance if this has been asked before or is too basic, but I am completely new to Haskell and have been experimenting in GHCi when I accidentally defined a function which I would have expected to throw an error.
Why does Haskell allow a function to be defined with a (seemingly) non-existent type?
Apologies in advance if this has been asked before or is too basic, but I am completely new to Haskell and have been experimenting in GHCi when I accidentally defined a function which I would have expected to throw an error.
Why does Haskell allow a function to be defined with a (seemingly) non-existent type?
Apologies in advance if this has been asked before or is too basic, but I am completely new to Haskell and have been experimenting in GHCi when I accidentally defined a function which I would have expected to throw an error.
Why does Haskell allow a function to be defined with a (seemingly) non-existent type?
Apologies in advance if this has been asked before or is too basic, but I am completely new to Haskell and have been experimenting in GHCi when I accidentally defined a function which I would have expected to throw an error.