POV-Ray : Newsgroups : povray.off-topic : how to scheme a cat up? : Re: how to scheme a cat up? Server Time
5 Sep 2024 09:24:00 EDT (-0400)
  Re: how to scheme a cat up?  
From: Invisible
Date: 18 Aug 2009 10:33:06
Message: <4a8abba2@news.povray.org>
Daniel Bastos wrote:

> What? You don't program in Scheme? Why in the world would you not? :P

Because it looks like THAT? :-P

> This program above is a prototype of the UNIX cat program. I was
> wondering how people would sort of write those lines in usual
> Scheme. But I guess I might be in the wrong off topic group. :-)

Oh, right.

In Haskell, we just say

   main = interact id

;-)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.