Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://www.haskell.org/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@haskell.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..." Today's Topics: 1. Haskell mentors/tutors website? (K?ra) 2. Re: multi-parameter typeclass with default implementation (Erlend Hamberg) 3. How can I keep delimiters in splitRegex? (S. H. Aegis) ---------------------------------------------------------------------- Message: 1 Date: Thu, 29 Aug 2013 01:59:58 -0400 From: K?ra <k...@riseup.net> To: beginners@haskell.org Subject: [Haskell-beginners] Haskell mentors/tutors website? Message-ID: <CABhyRUii_SxEPxHc_DXxkEckDJHsn=HpYVruPF0DbL_kW_W=7...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Is there an existing website to connect haskell mentors and mentees? I'm thinking of something along the lines of railsmentors (except, of course, with haskell support). I suppose it doesn't have to be Haskell specific, as long as it's a supported language. Codementor.io <http://www.codementor.io/?rid=4506073984>seems like a really cool option along those lines, but it would also be valuable to have a network for volunteer mentors. The closest I have seen is Haskellers, which is not about mentorship, but instead only about hiring and job hunting. P.S. Are there any LGBTQIA/female/disabled people of color on this list who would be willing to teach myself and other folks from the Empowermentors Collective? http://kxra.tumblr.com/post/54139122042/please-signal-boost-the-empowermentors Thanks! K?ra -- Board of Directors, Free Culture Foundation: www.freeculture.org Web: kxra.info - StatusNet Microblog: http://identi.ca/kxra Email: k...@freeculture.org - SMS: +1.617.340.3661 Jabber/XMPP: k...@riseup.net - IRC: kxra @freenode @oftc @indymedia -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.haskell.org/pipermail/beginners/attachments/20130829/c882c691/attachment-0001.html> ------------------------------ Message: 2 Date: Thu, 29 Aug 2013 08:31:55 +0200 From: Erlend Hamberg <ehamb...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] multi-parameter typeclass with default implementation Message-ID: <ca+g9oxn3bwmpopxf2waizceh0-m7h2rw1n898nzocy3f79b...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" You could also use functional dependencies here: {-# LANGUAGE FunctionalDependencies #-} class Foo a b | a -> b where bar :: a -> Int foobar :: a -> b -> Int foobar avalue bvalue = bar avalue instance Foo Int Int where bar i = 5 main = print $ bar (4::Int) Here you are saying that the type parameter b is determined by the parameter a, so GHC knows that the instance Foo Int Int is the only instance of Foo with a = Int, thus removing the ambiguity. -- Erlend Hamberg ehamb...@gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.haskell.org/pipermail/beginners/attachments/20130829/b9aa3f9d/attachment-0001.html> ------------------------------ Message: 3 Date: Thu, 29 Aug 2013 16:02:52 +0900 From: "S. H. Aegis" <shae...@gmail.com> To: "beginners@haskell.org" <beginners@haskell.org> Subject: [Haskell-beginners] How can I keep delimiters in splitRegex? Message-ID: <cajp-nqx1-sjawbusgdfeeo-p1cbumu51mmpc38f0tdla1cc...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hi. I'm newbee to Haskell. I want to keep delimiters in splitRegex like 'keepDelimsR'. I try... splitRegex (keepDelimsR (mkRegex "2013[0-9]{11}AH02")) myDataString but It doesn't work. How can I keep delimiters in splitRegex? Have a nice day. Thank you. S. Chang. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.haskell.org/pipermail/beginners/attachments/20130829/2b49f62f/attachment-0001.html> ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 62, Issue 24 *****************************************