Re: [Haskell] [Google Summer of Code 2018] Student Applications are now open

2018-03-16 Thread Dan Burton
listed. I am grateful that minorities are explicitly called out and strongly encouraged to apply in this announcement. I am confident that haskell.org will make every effort to support and empower all applicants. -- Dan Burton On Fri, Mar 16, 2018 at 4:06 AM, Tillmann Vogt <tillmann.v...@r

Re: [Haskell-cafe] uninstalling libraries

2017-11-13 Thread Dan Burton
pervasive assumption that sandboxing will be involved. On Nov 13, 2017 14:45, "Evan Laforge" <qdun...@gmail.com> wrote: On Mon, Nov 13, 2017 at 12:27 PM, Dan Burton <danburton.em...@gmail.com> wrote: > I also lean towards the "you shouldn't be trying to uninstall" men

Re: [Haskell-cafe] uninstalling libraries

2017-11-13 Thread Dan Burton
I also lean towards the "you shouldn't be trying to uninstall" mentality. But it's worth discussing. What is the motive for uninstalling? Is it to upgrade to a new version? To narrow hoogle search results? For these, our sandbox tooling should allow for upgrades or selective querying without

Re: [Haskell] Haskell on Windows instructions - is MinGHC version update needed?

2015-04-16 Thread Dan Burton
+1 please update 7.8.3 - 7.8.4. Consider also providing the minghc-7.10.1 link as well. Or just link to the github readme, which has these options and various relevant explanations: https://github.com/fpco/minghc#readme n.b. for some reason Howard's email landed in my spam box. -- Dan Burton

[Haskell] ANN: io-memoize 1.1

2014-06-12 Thread Dan Burton
from a Cache is thread safe: only one fallback will execute at a time, and after the first successful fallback, the cached value will be set and no other fallbacks will be called. -- Dan Burton ___ Haskell mailing list Haskell@haskell.org http

Re: [Haskell-cafe] Lifting IO actions into Applicatives

2013-10-01 Thread Dan Burton
`serverSide` out into a typeclass, such as ApplicativeIO? Sure. but why bother? The point is, you've got the specialization you need already. -- Dan Burton On Tue, Oct 1, 2013 at 1:20 AM, Tom Ellis tom-lists-haskell-cafe-2...@jaguarpaw.co.uk wrote: On Tue, Oct 01, 2013 at 09:29:00AM +0200, Niklas Haas

Re: [Haskell-cafe] Haskell.org design is broken

2013-10-01 Thread Dan Burton
The offending HTML is on line 93: pbr//p When I delete this paragraph element from the DOM, the ugly white bar goes away. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Haskell.org design is broken

2013-10-01 Thread Dan Burton
Apparently that element is generated by the wiki software, since most pages want the view source / history buttons above the rest of the content. jQuery('#mw-content-text p:first').hide() -- Dan Burton On Tue, Oct 1, 2013 at 8:17 AM, Dan Burton danburton.em...@gmail.comwrote: The offending

Re: [Haskell-cafe] Lifting IO actions into Applicatives

2013-10-01 Thread Dan Burton
Interesting. It's similar in spirit to basically a safe Coerce typeclass, but for * - * types. class Coerce a b where coerce :: a - b class Coerce1 f g where coerce1 :: f a - g a -- Dan Burton On Tue, Oct 1, 2013 at 11:00 AM, John Wiegley jo...@fpcomplete.com wrote

Re: [Haskell-cafe] Reasoning about performance

2013-09-03 Thread Dan Burton
an optimization guru: allPairsS :: [a] - [(a, a)] allPairsS xs = go xs [] where go [] = id go (y:ys) = (map (\a - (y, a)) ys ++) . go xs Further reading: http://www.haskell.org/haskellwiki/Difference_list -- Dan Burton On Tue, Sep 3, 2013 at 3:28 PM, Scott Pakin pa...@lanl.gov wrote: I'm

Re: [Haskell-cafe] inv f g = f . g . f

2013-08-17 Thread Dan Burton
This is indeed a job for lens, particularly, the Iso type, and the under function. Lens conveniently comes with a typeclassed isomorphism called reversed, which of course has a list instance. under reversed (take 10) ['a'.. 'z'] qrstuvwxyz -- Dan Burton On Aug 17, 2013 10:23 AM, Anton Nikishaev

Re: [Haskell-cafe] inv f g = f . g . f

2013-08-17 Thread Dan Burton
Burton On Sat, Aug 17, 2013 at 1:43 PM, Dan Burton danburton.em...@gmail.comwrote: This is indeed a job for lens, particularly, the Iso type, and the under function. Lens conveniently comes with a typeclassed isomorphism called reversed, which of course has a list instance. under reversed

Re: [Haskell-cafe] Applicative is like an Arrow

2013-08-16 Thread Dan Burton
an automatic instance for Applicative, which I brought up about a month ago on reddit: http://www.reddit.com/r/haskell/comments/1ivd23/default_functor_and_applicative_instances_for/ -- Dan Burton On Fri, Aug 16, 2013 at 7:52 AM, Brandon Allbery allber...@gmail.comwrote: On Fri, Aug 16, 2013

Re: [Haskell-cafe] Applicative is like an Arrow

2013-08-16 Thread Dan Burton
of the Arrow are also in scope. This really helped solidify the idea in my head that the shape of the factory only makes static choices, because all of the Arrow-y processing happens between - and - -- Dan Burton On Fri, Aug 16, 2013 at 12:37 PM, Mathijs Kwik math...@bluescreen303.nlwrote: Thiago

Re: [Haskell-cafe] One-element tuple

2013-08-15 Thread Dan Burton
. I imagine you could write some fancy hack that uses the type system to automatically promote values to Oneples of the given value when an expected: Oneple Foo, actual: Foo error occurs. But this would not be very useful in general. An uglier option: type Oneple a = (a, ()) -- Dan Burton

Re: [Haskell-cafe] Alternative name for return

2013-08-06 Thread Dan Burton
in scope unqualified, so maybe lift would not be the best choice. -- Dan Burton On Aug 6, 2013 7:38 AM, Tom Ellis tom-lists-haskell-cafe-2...@jaguarpaw.co.uk wrote: On Tue, Aug 06, 2013 at 04:26:05PM +0200, Jerzy Karczmarczuk wrote: 1. First, it is not true that you can do with, say, (printStr

Re: [Haskell-cafe] Subclass or no subclass?

2013-06-30 Thread Dan Burton
I am not trying to say every building is a shelter, rather anything that is a building must provide sheltering services. Well if it walks like a shelter and quacks like a shelter... /shrug The is a relationship is not a good way to think about type classes, in my opinion. The interface or

Re: [Haskell-cafe] Maintaining lambdabot

2013-02-20 Thread Dan Burton
few weeks. I can promise to occasionally throw my opinion around as if it mattered, though. ;) -- Dan Burton ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] Maintaining lambdabot

2013-02-17 Thread Dan Burton
Sounds great. Lambdabot is an important icon to the Haskell community; it will be nice to brush off the bitrot and make lambdabot easier for the average Haskeller to install without having to rely on Cale keeping it running on irc (grateful, though we are). -- Dan Burton On Feb 17, 2013 3:04 PM

Re: [Haskell-cafe] lambda case (was Re: A big hurray for lambda-case (and all the other good stuff))

2012-12-30 Thread Dan Burton
from the flexibility proffered to the rest of the language. tl;dr give me easily extensible syntax, rather than having to run to GHC devs every time I want a new or different flavor of sugar. -- Dan Burton ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] lambda case (was Re: A big hurray for lambda-case (and all the other good stuff))

2012-12-30 Thread Dan Burton
*how *that would lead to extensive abuse. Well, too powerful or not, meta-programming should be more easily available at least at *some *layer of language development without having to resort to hacking the compiler. -- Dan Burton ___ Haskell-Cafe mailing

Re: [Haskell-cafe] mtl-2.1 severly broken, cabal needs blacklisting

2012-11-13 Thread Dan Burton
-- Dan Burton (801-513-1596) On Tue, Nov 13, 2012 at 9:27 AM, Andreas Abel andreas.a...@ifi.lmu.dewrote: After 2 days of shrinking 251 modules of source code to a few lines I realized that modify in MonadState causes loop in mtl-2.1. http://hackage.haskell.org/**packages/archive/mtl/2.1

[Haskell] ANNOUNCE basic-prelude-0.3

2012-08-23 Thread Dan Burton
! {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} import BasicPrelude -- Dan Burton ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

[Haskell-cafe] ANNOUNCE basic-prelude-0.3

2012-08-23 Thread Dan Burton
! {-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE OverloadedStrings #-} import BasicPrelude -- Dan Burton ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: build failures when hiding non-visible imports

2012-08-18 Thread Dan Burton
Sounds reasonable. We might want flags to go with it for silencing or enabling that particular warning. -- Dan Burton ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Re: PolyKinds, Control.Category and GHC 7.6.1

2012-08-13 Thread Dan Burton
, precisely, is the benefit of turning on PolyKinds for that file without changing the code? If we're cpp'ing it in, then are there further benefits that we could also reap by cpp'ing some code changes? -- Dan Burton ___ Glasgow-haskell-users mailing list

Re: [Haskell] Tuples Lists

2012-08-13 Thread Dan Burton
be the case that the tuple version (if it were valid Haskell) is less efficient because it can't take advantage of list fusion and has to allocate the tuple instead. -- Dan Burton ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman

[Haskell] ANNOUNCE: basic-prelude

2012-08-10 Thread Dan Burton
. Basic Prelude takes the approach of hooking into existing data types and typeclasses, so it doesn't fix issues such as making Functor a superclass of Monad. Since Basic, Classy, and Modular Preludes are all still currently highly experimental, feedback is much appreciated. -- Dan Burton

[Haskell] ANNOUNCE: tardis

2012-08-07 Thread Dan Burton
include swaths of code (see Control/Monad/Tardis.hs and tardis.cabal). I'm not entirely sold on the naming conventions for the package (including the package name), and am open to suggestions. -- Dan Burton ___ Haskell mailing list Haskell@haskell.org

[Haskell-cafe] ANNOUNCE: tardis

2012-08-07 Thread Dan Burton
include swaths of code (see Control/Monad/Tardis.hs and tardis.cabal). I'm not entirely sold on the naming conventions for the package (including the package name), and am open to suggestions. -- Dan Burton ___ Haskell-Cafe mailing list Haskell-Cafe

Re: [Haskell-cafe] [Haskell] ANNOUNCE: lens-family-th 0.1.0.0

2012-07-07 Thread Dan Burton
I don't know if it is possible to add haddock to functions whose type signatures are generated by template haskell. Could the documentation be an argument of mkLenses? Does haddock run on the template-haskell expanded code? TH macros must have type Q [Dec]. Dec has no constructor for

[Haskell-cafe] ANNOUNCE: lens-family-th 0.1.0.0

2012-07-06 Thread Dan Burton
the lens definitions. Type inference should correctly determine the type of the generated lenses, but I have structured the library code so that in the future, type signatures can also be generated. Patches welcome! http://hackage.haskell.org/package/lens-family-th -- Dan Burton

Re: [Haskell-cafe] [Haskell] ANNOUNCE: set-monad

2012-06-20 Thread Dan Burton
},Foo {a = 3, b = 3},Foo {a = 4, b = 4}] The data seems to pop out of nowhere. Even if Ord instances like the one for Foo shouldn't exist, they almost certainly will anyways, because the Haskell type system doesn't prevent them. Users of the library should be informed accordingly. Dan Burton 801-513

Re: [Haskell] ANNOUNCE: set-monad

2012-06-16 Thread Dan Burton
Convenience aside, doesn't the functor instance conceptually violate some sort of law? fmap (const 1) someSet The entire shape of the set changes. fmap (g . h) = fmap g . fmap h This law wouldn't hold given the following contrived ord instance data Foo = Foo { a, b :: Int } instance Ord Foo

[Haskell] (no subject)

2012-02-21 Thread Dan Burton
on github (with examples): https://github.com/DanBurton/netspec -- Dan Burton ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

[Haskell] ANNOUNCE: netspec-0.2.0.0

2012-02-21 Thread Dan Burton
-- Dan Burton danburton.em...@gmail.com On Tue, Feb 21, 2012 at 7:11 PM, Dan Burton danburton.em...@gmail.comwrote: Haskellers, I'm pleased to announce the first public release of NetSpec, a little Network library to simplify networking tasks that involve a fixed number of connections, using