[Haskell-cafe] Is Excel a FP language?
lennart at augustsson.net
Wed Apr 25 15:53:10 EDT 2007
How about 'IF(x=2,0,5)' ?
On Apr 25, 2007, at 13:48 , Marc Weber wrote:
>> Is the cell evaluation engine one? I think not. I do not
>> believe what
>> you can type into those cells does constitute a programming
>> or at least not a turing complete one. As far as i know only
>> calculations can be performed. For example, is there any way to
>> evaluate f(2) = 0, f(x) = 5
> Sure. Should not be hard using 5 - 5 * (1-abs(sign(2-x)))
> I admit that I didn't test it using Excel but oocalc.
> Or is this VBA?
> You are right. I get your intention ;)
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe