News for hackers. Stuff that matters.
Re:Why I prefer scheme to Haskell by jrockway on Monday April 09, 2012 @02:08PM (#3818340)
You can easily define your own type that is "everything". But how useful is a dict in python with keys and values of varying types? I've certainly never used one.
Re:Why I prefer scheme to Haskell by TylerE on Monday April 09, 2012 @02:27PM (#3818451)
It's very useful.

Use it like you'd use a bare object in Javascript, as a freeform data container to hold whatever properties you need. A bit like a key-value NoSQL store, actually.

Re:Why I prefer scheme to Haskell by jrockway on Monday April 09, 2012 @02:28PM (#3818457)
Values, yes, but keys?
Re:Why I prefer scheme to Haskell by TylerE on Monday April 09, 2012 @02:33PM (#3818492)
Sure, why not. I mean, I can't offhand of a time that I've really used mixed keys, but I also can't come with any compelling reason why it's a bad idea. Ad-hoc data comes up all the time.