[Agda] read-output Nat example

Nils Anders Danielsson nad at cse.gu.se
Wed Sep 21 15:02:41 CEST 2016


On 2016-09-21 12:37, Sergei Meshveliani wrote:
> main = (readFile "data.txt") >>= putStrLn ∘ toCostring ∘ g

Perhaps you could use readFiniteFile.

-- 
/NAD


More information about the Agda mailing list