On Saturday 27 June 2009 18:31:25 Günther Schmidt wrote:
> Hi guys,
>
> is there a mailing list for haskellers that defected to F#?
Here's the F# mailing list on Google Groups:
http://groups.google.com/group/fsharp?hl=en
--
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy
Hi Günther, I would be interested in one too. I'm a Haskeller
currently working for an F# shop. There's hubFS but I would absolutely
prefer a mailing list. --A
On Sat, Jun 27, 2009 at 8:31 PM, GüŸnther Schmidt wrote:
> Hi guys,
>
> is there a mailing list for haskellers that defected to F#?
>
> No
Hi guys,
is there a mailing list for haskellers that defected to F#?
Not that I was I going to, just asking, absolutely hypothetically. Uhm.
Günther
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskel
Peter,
I think that's correct. I would really love to be able to make alternate
constructors and views. I know we can make "specialized" constructors, but I
don't think there's a good way to pattern match on these. It would be pretty
sweet if we could.
/jve
On Fri, Jan 16, 2009 at 11:14 AM, Pete
As far as I understand, record syntax and data accessor only give access to
the data, they don't provide alternate views / interpretations of the data,
something that Active Patterns or view patterns in Haskell do?
On Fri, Jan 16, 2009 at 4:27 PM, Henning Thielemann <
lemm...@henning-thielemann.de>
On Fri, 16 Jan 2009, John Van Enk wrote:
2009/1/16 Peter Verswyvelen
[...]
After a while you decide that you need to change the Bla data type, maybe
give Dog more fields, maybe completely redesign it, maybe not exposing it,
but you want to keep existing code backwards compatible. With F# yo
2009/1/16 Peter Verswyvelen
> [...]
>
> After a while you decide that you need to change the Bla data type, maybe
> give Dog more fields, maybe completely redesign it, maybe not exposing it,
> but you want to keep existing code backwards compatible. With F# you can
> write Active Patterns for the
Hi Luke,
On Fri, Jan 16, 2009 at 2:31 AM, Luke Palmer wrote:
> However, I think it is flawed, since the following
>>
>> case c of
>> Polar _ _ -> "it's polar!"
>> Rect _ _ -> "it's rect!"
>>
>> seems like valid code but does not make any sense.
>>
>
> I think it's okay, given that we u
2009/1/15 Peter Verswyvelen
> When I first read about active patterns in F#, I found it really cool idea,
> since it allows creating fake data constructors that can be used for pattern
> matching, giving many views to a single piece of data, and allowing
> backwards compatibility when you complet
If you don't mind using GHC extensions (which in a view pattern thread
probably isn't much of a stretch to assume :) ), there's always record
punning (-XNamedFieldPuns):
data Foo = { [snip] }
f (Foo { a, g }) = ...
2009/1/15 John Van Enk :
> I've often thought having constructor "views" w
I've often thought having constructor "views" would be handy.
data Foo = Foo A B C D E F G H I
view Bar = (Foo A _ C _ _ _ G _ I) => Bar A C G I
This does bring up problems with case alternatives though.
I think the correct answer for these kinds of views is with the record
pattern matching synt
When I first read about active patterns in F#, I found it really cool idea,
since it allows creating fake data constructors that can be used for pattern
matching, giving many views to a single piece of data, and allowing
backwards compatibility when you completely change or hide a data structure.
S
Hallo!
I have this code:
q1 :: EName -> [ApprenticeInfo]
q1 c = [apprenticeInfo n | n <- allApprentices, member ((sq4
c) (firstOf5(n))) == True]
sq4 :: ESurname -> [IDB]
sq4 c = (sq3 (sq1 (c)))
firstOf5 :: (a,b,c,d,e) -> a
firstOf5 (n,_,_,_,_) = n
member
On Mon, 11 Feb 2008, [EMAIL PROTECTED] wrote:
> Hallo!
>
> I have this code:
>
> q1 :: EName -> [ApprenticeInfo]
> q1 c = [apprenticeInfo n | n <- allApprentices, member ((sq4
> c) (firstOf5(n))) == True]
>
> sq4 :: ESurname -> [IDB]
> sq4 c = (sq3 (sq1 (c
On Feb 11, 2008 2:27 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hallo!
>
> I have this code:
>
> q1 :: EName -> [ApprenticeInfo]
> q1 c = [apprenticeInfo n | n <- allApprentices, member ((sq4
> c) (firstOf5(n))) == True]
>
> sq4 :: ESurname -> [IDB]
On Wed, Aug 22, 2007 at 01:38:39PM -0400, Thomas Hartman wrote:
>
> $ runghc -f /usr/local/bin/ghc-6.6.1 arghandling-nice.hs
>
> does nothing.
Contrary to the usage message, you aren't actually allowed a space after
"-f" in 6.6.1 (but you are in 6.7). Use
runghc -f/usr/local/bin/ghc-6.6.1 a
>
> this works. now if only there were a "quiet" option for ghci...
>
>
But there is! It's called -v0.
-Brent
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
M
To
"haskell-cafe@haskell.org"
cc
Subject
[Haskell-cafe] -f flag to runghc broken, or is it just me? (because trying
switch elegantly between ghc 6.6 and ghc 6.7)
I'm doing a lot of switching between ghc 6.6 and ghc 6.7 on the same
computer. I install modules using
$ r
I'm doing a lot of switching between ghc 6.6 and ghc 6.7 on the same
computer. I install modules using
$ runghc Setup.hs configure
etc.
I would like to specify which version of ghc should be getting the package
installed via the f flag to runghc
$
:~/personal/PersonalRepos/pharchive/
| > Has anyone tried out F#?
|
| Yes. We've been using F# for 9 months now and have several products
| written in
| it.
|
| > Is this a taboo subject here?
| Probably. ;-)
Not at all! But there is a very active F# community that would be much more
knowledgeable about F# than Haskell folk are lik
On Tuesday 17 July 2007 14:53:20 Edward Ing wrote:
> Has anyone tried out F#?
Yes. We've been using F# for 9 months now and have several products written in
it.
> Is this a taboo subject here?
Probably. ;-)
--
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
OCaml for Scientists
http://www.ffcon
I've been meaning to tackle F# as my ML of choice (seeing as I'll need
to get comfortable with .Net, I may as well hit two birds with one
stone).
I've been waiting for the text /Expert F#/ to come out, as it looks
/Foundations of F#/ is pitched towards someone learning their first
functional lang
Has anyone tried out F#?
Is this a taboo subject here?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
23 matches
Mail list logo