Re: [Haskell-cafe] pls fast help me with this simple question

2006-03-26 Thread Sebastian Sylvan
On 3/26/06, iliali16 <[EMAIL PROTECTED]> wrote: > > type Data = Integer > type Variable = String > type Store = [(Variable, Data)] > > Store = [("",0)] > emptystore :: Store > emptystore = [("",0)] > > getVal :: Store -> Variable -> Data > > thats my code i just have to continue and get the value o

[Haskell-cafe] pls fast help me with this simple question

2006-03-26 Thread iliali16
type Data = Integer type Variable = String type Store = [(Variable, Data)] Store = [("",0)] emptystore :: Store emptystore = [("",0)] getVal :: Store -> Variable -> Data thats my code i just have to continue and get the value of a variable from the store but i don't know how the task is : Def