I believe that this is the <| operator.
--
--
To post, send email to fsharp-o...@googlegroups.com
To unsubscribe, send email to
fsharp-opensou...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fsharp-opensource
---
You received this message because you are subscribed to the Google Groups "F# Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fsharp-opensou...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,
($) :: (a -> b) -> a -> b (see https://www.haskell.org/hoogle/?hoogle=%24 )
In F# we have <| with same signature.
Cheers,
Steffeb
--
--
To post, send email to
type Length = Auto | Star of float | Absolute of floatlet filled expand xs = ...
filled true <| List.replicate 12 <| Star 1.0
filled true (List.replicate 12 (Star 1.0)) // this one is obviousfilled true <| List.replicate 12 (Star 1.0) // this one worksfilled true (List.replicate 12 <| Star 1.0) // this one as well
Hi,
($) :: (a -> b) -> a -> b (see https://www.haskell.org/hoogle/?hoogle=%24 )
In F# we have <| with same signature.
Cheers,
Steffeb
Von: fsharp-o...@googlegroups.com [mailto:fsharp-o...@googlegroups.com] Im Auftrag von Robert Kuzelj
Gesendet: Montag, 26. Oktober 2015 15:31
An: F# Discussions <fsharp-o...@googlegroups.com>
Betreff: $ operator like in Haskell?
Hi,
is there something like the $ in Haskell for F#?
cant find it (and its hard to Google "F# $" ;-) )
Best regards
Robert
--
--
To post, send email to fsharp-opensource@googlegroups.com
To unsubscribe, send email to
Hi Robert,
In idiomatic F# you use the pipe-forward operator for this:
Star 1.0 |> List.replicate 12 |> filled true
Cheers
Don
From: fsharp-o...@googlegroups.com [mailto:fsharp-o...@googlegroups.com] On Behalf Of Robert Kuzelj
Sent: 26 October 2015 15:47
To: F# Discussions <fsharp-o...@googlegroups.com>
--
--
To post, send email to fsharp-o...@googlegroups.com
To unsubscribe, send email to
For more options, visit this group at
http://groups.google.com/group/fsharp-opensource
---
You received this message because you are subscribed to the Google Groups "F# Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fsharp-opensou...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
To post, send email to fsharp-o...@googlegroups.com
To unsubscribe, send email to
--
--
To post, send email to fsharp-opensource@googlegroups.com
To unsubscribe, send email to
For more options, visit this group at
http://groups.google.com/group/fsharp-opensource
---
You received this message because you are subscribed to the Google Groups "F# Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fsharp-opensou...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.