[Haskell-fr] _

Dupont Corentin corentin.dupont at gmail.com
Thu Sep 20 18:21:27 EDT 2007


On 9/20/07, david48 <dav.vire+haskell at gmail.com> wrote:
> On 9/20/07, Dupont Corentin <corentin.dupont at gmail.com> wrote:
> > Dans ton exemple je ne comprend pas,
> > le x est bien un seul caratère?
> > comment peut-il matcher avec '#':_ qui est me semble t-il une chaine?
>
> myfilter :: [String] -> [String]
>
> x est une chaine.

OK j'avais lu myfilter :: String -> String...

Pour ghci, même avec let je n'y arrive pas car la fonction est en
plusieurs lignes.
Et je ne sait pas définir le type non plus...



>
> David.
> _______________________________________________
> Haskell-fr mailing list
> Haskell-fr at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-fr
>


More information about the Haskell-fr mailing list