POV-Ray : Newsgroups : povray.off-topic : An explanation of what next_permutation does : Re: An explanation of what next_permutation does Server Time
4 Sep 2024 23:23:46 EDT (-0400)
  Re: An explanation of what next_permutation does  
From: Darren New
Date: 5 Dec 2009 12:36:35
Message: <4b1a9a23$1@news.povray.org>
Warp wrote:
>   Haskell is fairly (in)famous for its one-liners which do tons of things.

I think APL (and now J) is the canonical example for that.

>   Because you wrote it so. 

Well, the particular bit you complained about is no more complex than
    case 23: return 0;
in C. It's just that Haskell has literals that aren't in C, so "case 23" 
looks funky.

-- 
Darren New, San Diego CA, USA (PST)
   Human nature dictates that toothpaste tubes spend
   much longer being almost empty than almost full.


Post a reply to this message

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