Re: [Haskell-cafe] Question on case x of g when g is a function

2005-01-27 Thread Salvador Lucas
Because both bit0 and bit1 are free *local* variables within the case expression. So, they have nothing to do with your defined functions bit0 and bit1. Best regards, Salvador. [EMAIL PROTECTED] wrote: Can a kind soul please enlighten me on why f bit0 and f bit1 both return 0? bit0 =

Re: [Haskell-cafe] conflicting variable definitions in pattern

2009-05-15 Thread Salvador Lucas
Dear Martin, I think that the (practical) reason is avoiding equality checks during pattern matching. For instance, how do you evaluate this: foo ((+1):(1+):[])? Both expressions in the first and second entries of the list are semantically equivalent, but from an operational point of

Re: [Haskell-cafe] haskell platform - mac lion - installation error

2012-03-10 Thread Salvador Lucas
Dear Peter, I recently had a similar problem with the same Haskell Platform version but on a Macmini (running Lion as well). I learnt that you have to install the 'command line tools' by using the 'preferences' of your XCode installation. After that, everything will work. Best regards,

Re: [Haskell-cafe] Any Haskell events in Madrid next week?

2013-09-06 Thread Salvador Lucas
Hi, There is a workshop on Functional Programming and also a conference on programming languages http://babel.ls.fi.upm.es/tpf2013/cfp_english.txt If interested, you can contact the organizers... Regards, Salvador. El 06/09/13 22:59, Joachim Breitner escribió: Hi, I'll be visiting