Thread View: pl.comp.lang.funkcyjne
2 messages
2 total messages
Started by Pawel Kaczmarek
Sun, 22 Jun 2003 08:29
konwersja typu IO Int do typu IO
Author: Pawel Kaczmarek
Date: Sun, 22 Jun 2003 08:29
Date: Sun, 22 Jun 2003 08:29
10 lines
1055 bytes
1055 bytes
Mam dwie funkcje.Jedna z nich zwraca IO Int. Druga przyjmuje Int.Czy mozna napisac (jak?) funkcje konwertujaca IO Int na Int? Komunikat bledu ponizej: Couldn't match 'Int' against 'IO Int' Expected type:Int Inferred type:IO Int Pawel Kaczmarek
Re: konwersja typu IO Int do typu IO
Author: Tomasz Zielonka
Date: Sun, 22 Jun 2003 08:36
Date: Sun, 22 Jun 2003 08:36
21 lines
1321 bytes
1321 bytes
Pawel Kaczmarek napisał: > Mam dwie funkcje.Jedna z nich zwraca IO Int. > Druga przyjmuje Int.Czy mozna napisac (jak?) > funkcje konwertujaca IO Int na Int? > Komunikat bledu ponizej: > > Couldn't match 'Int' against 'IO Int' > Expected type:Int > Inferred type:IO Int Odpisałem Ci na comp.lang.functional, chyba trochę za szybko ;) > Pawel Kaczmarek Pozdrawiam, Tomek PS. Skąd taki wysyp pytań o Haskella z Torunia? :) -- .signature: Too many levels of symbolic links
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads