Isn't that already valid Haskell? :) (remove the underscore). On Mar 5, 2013 5:21 AM, "Christopher Howard" < christopher.how...@frigidcode.com> wrote:
> Hi. My Haskell is (sadly) getting a bit rusty. I was wondering what > would be the most straightforward and easily followed "procedure" for > translating a recursively defined sequence into a Haskell function. For > example, this one from a homework assignment. > > quote: > -------- > a_1 = 10 > a_(k+1) = (1/5) * (a_k)**2 > -------- > > (The underscore is meant to represent subscripting what follows it.) > > -- > frigidcode.com > > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > >
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe