- Find a mentor
- Web Programming
- Mobile App Programming
- Programming Languages
- Data Science /Engineering
- Database /Operations
- Find a freelancer
teaching functional programming
How to convert my thoughts in OOP to Haskell?
Ok I'll try to help a bit. First: I assume you have these data types: data E1 = E1 String data E2 = E2 Int And you have a sensible operation on both that...
Understanding error in the insertion of an element in a list
Your problem is (as Silvio already told you) the use of : but let's analyse the types to see where the error comes from and how you could see it...