[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another pcase-lambda

From: Clément Pit-Claudel
Subject: Re: Another pcase-lambda
Date: Fri, 22 Sep 2017 23:50:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

On 2017-09-22 23:37, Mark Oteiza wrote:
> Thanks.  I just always expect pcase-lambda to behave more like pcase,
> hence I wrote this.

Am I correct to think that is is very similar to ML's 'function'? as in

let string_of_bool = function
  | true -> "true"
  | false -> "false"

If so, could pcase-function work?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]