#2392: Make Applicative a superclass of Monad
---+
Reporter: Ashley Yakeley | Owner:
Type: proposal| Status: new
Priority: normal | Component:
#2393: Text.PrettyPrint.HughesPJ: Bug fixes, performance improvement
+---
Reporter: guest| Owner:
Type: bug | Status: new
Priority: normal | Component:
#2393: Text.PrettyPrint.HughesPJ: Bug fixes, performance improvement
--+-
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal|
#2394: deriving instance Data (a-b) leads to 'impossible' error instead of
can't
do message
+---
Reporter: claus| Owner:
Type: bug | Status: new
Priority: normal |
#2391: Network.listenOn (PortNumber n) Sometimes Picks IPv6
--+-
Reporter: cjs | Owner:
Type: bug | Status: new
Priority: normal| Milestone: Not GHC
Component:
#2391: Network.listenOn (PortNumber n) Sometimes Picks IPv6
--+-
Reporter: cjs | Owner:
Type: bug | Status: new
Priority: normal| Milestone: Not GHC
Component:
#1217: Add zeroText to Text.PrettyPrint.HughesPJ
+---
Reporter: neil| Owner:
Type: proposal| Status: new
Priority: normal | Milestone: Not GHC
#2392: Make Applicative a superclass of Monad
+---
Reporter: Ashley Yakeley | Owner:
Type: proposal| Status: closed
Priority: normal | Milestone:
Component:
#2103: Some functions in network library do not work on NetBSD
---+
Reporter: iquiw | Owner:
Type: bug| Status: reopened
Priority: high |
#2103: Some functions in network library do not work on NetBSD
---+
Reporter: iquiw | Owner:
Type: bug| Status: closed
Priority: high |
Hi,
I've got a library that I'm in the process of uploading to hackage (waiting
for account) but the darcs repo is here:
http://graphics.cs.ucdavis.edu/~sdillard/Vec
I notice a slight drop in performance when I install the library using
cabal. Maybe 10-20%, on one particular function. This is
dons:
sedillard:
Hi,
I've got a library that I'm in the process of uploading to hackage
(waiting for account) but the darcs repo is here:
[1]http://graphics.cs.ucdavis.edu/~sdillard/Vec
I notice a slight drop in performance when I install the library using
That said, it's entirely possible to program libraries in a way to
specifically allow full inlining of the libraries. The Data.Binary and
Data.Array.Vector libraries are written in this style for example,
which means lots of {-# INLINE #-} pragmas, maximum unfolding and high
optimisation
sedillard:
That said, it's entirely possible to program libraries in a way to
specifically allow full inlining of the libraries. The Data.Binary and
Data.Array.Vector libraries are written in this style for example,
which means lots of {-# INLINE #-} pragmas, maximum
On Tue, Jun 24, 2008 at 02:01:58PM -0700, Donald Bruce Stewart wrote:
1) Library is installed via cabal.
2) Library source lives in the same directory as the application, so that
ghc --make Examples.hs also builds the library.
That's compiling Examples with full access to the
I can't reproduce the behavior on any of the less egregiously inlined
functions. For everything else the running times are the same using either
local packages or installed libraries.
On Tue, Jun 24, 2008 at 3:16 PM, Ian Lynagh [EMAIL PROTECTED] wrote:
On Tue, Jun 24, 2008 at 02:01:58PM -0700,
sedillard:
I can't reproduce the behavior on any of the less egregiously inlined
functions. For everything else the running times are the same using either
local packages or installed libraries.
On Tue, Jun 24, 2008 at 3:16 PM, Ian Lynagh [EMAIL PROTECTED] wrote:
On Tue,
On Tue, Jun 24, 2008 at 3:51 PM, Don Stewart [EMAIL PROTECTED] wrote:
I've taken all optimization flags out of the .cabal file. They don't
have
any effect. My understanding of things is this: (please correct if
wrong)
All functions have inline pragmas, and all are small (1 or 2
sedillard:
On Tue, Jun 24, 2008 at 3:51 PM, Don Stewart [EMAIL PROTECTED] wrote:
I've taken all optimization flags out of the .cabal file. They
don't have
any effect. My understanding of things is this: (please correct if
wrong)
All functions
On Tue, Jun 24, 2008 at 4:15 PM, Don Stewart [EMAIL PROTECTED] wrote:
Nope, there's a lot of optimisations taking place on the core-to-core
phase, to ensure the core that gets unfolded into your .hi files is as
nice as possible. And then still there's things that actually stay as
calls into
Please note that the deadline for the
Workshop on Functional and Declarative Programming in Education (FDPE08)
which will be held in conjunction with ICFP 2008 on Sunday, September
21, 2008 in Victoria, British Columbia, Canada is
extended to Sunday, June 29, 2008.
Beside regular papers
All,
Apologies for multiple listings.
A small cadre of us, collectively known as the Northwest Functional
Programming
Interest Group, have been meeting monthly to discuss all things functional.
Our next meeting is at
The Seattle Public Library
5009 Roosevelt Way N.E. *
Seattle*, WA 98105
I had proposed this to the GHC Trac, but it was pointed out that it
would break Haskell 98. That proposal has been closed.
Proposal:
Make Applicative (in Control.Applicative) a superclass of Monad (in
Control.Monad). Rename members of Applicative and other functions, to
avoid unnecessary
On Fri, 20 Jun 2008, Alistair Bayley wrote:
Another problem is that the Oracle installation process assumes that,
for all platforms, the library is called oci i.e. the linker option
-loci is used. For Unix clients, the OCI library seems to be
libclnstsh.so, so I guess it should pass -lclnstsh.
2008/6/24 Henning Thielemann [EMAIL PROTECTED]:
(I remain on the list in order to fill the archive with information, others
may need, too.)
As you wish.
(Btw. Takusen should be split into
several packages for all database backends because Cabal flags must not
influence the package
2008/6/23 Galchin, Vasili [EMAIL PROTECTED]:
aio: schedule: re-entered unsafely.
Perhaps a 'foreign import unsafe' should be 'safe'?
I want to understand from an implementation viewpoint .. deeper. This is a
GC issue yes?
Are you reentering Haskell on a path which involves an unsafe FFI
All,
Apologies for multiple listings.
A small cadre of us, collectively known as the Northwest Functional
Programming
Interest Group, have been meeting monthly to discuss all things functional.
Our next meeting is at
The Seattle Public Library
5009 Roosevelt Way N.E. *
Seattle*, WA 98105
Hello,
I have, on two occasions made an *unregisterised* of GHC for the ARM
(specifically the Maemo on Nokia 770). Mostly I just followed the
unregisterised porting directions in the GHC user manual.
I documented one attempt here:
http://hackage.haskell.org/trac/ghc/wiki/ArmLinuxGhc
Note: This
yes I am invoking a callback function written in Haskell.
On Tue, Jun 24, 2008 at 12:03 PM, Adam Langley [EMAIL PROTECTED]
wrote:
2008/6/23 Galchin, Vasili [EMAIL PROTECTED]:
aio: schedule: re-entered unsafely.
Perhaps a 'foreign import unsafe' should be 'safe'?
I want to
On Tue, Jun 24, 2008 at 12:08 PM, Galchin, Vasili [EMAIL PROTECTED] wrote:
yes I am invoking a callback function written in Haskell.
Then you should just need to remove the unsafe from the foreign
import decl which leads to the callback getting called.
AGL
--
Adam Langley [EMAIL PROTECTED]
In messing around with TH, I noticed (what I consider
to be an) odd wrinkle in the handling of list types
within TH's syntax meta-data. For example, given the
program at the end of this email, which prints out the
TH representation of the types 'Ints' and '[Int]',
where 'Ints' is just a
Hi Robert,
The derive program [http://www.cs.york.ac.uk/~ndm/derive] works
extensively with Template Haskell, and has come across loads of
instances where you get either AppT or ListT, and similarly where you
get either ListE or AppE - and I seem to remember ListP as well. I
think the same also
Hello,
I am trying to use the SDL-mixer bindings to play wav files. I've hit
a wierd error and I can't figure out how to solve it:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Loading package SDL-0.5.4 ... linking ... done.
Loading package
On Tue, 24 Jun 2008, Norbert Wojtowicz wrote:
Hello,
I am trying to use the SDL-mixer bindings to play wav files. I've hit
a wierd error and I can't figure out how to solve it:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Is the package
wojtowicz.norbert:
Hello,
I am trying to use the SDL-mixer bindings to play wav files. I've hit
a wierd error and I can't figure out how to solve it:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Loading package SDL-0.5.4 ... linking ...
lemming:
On Tue, 24 Jun 2008, Norbert Wojtowicz wrote:
Hello,
I am trying to use the SDL-mixer bindings to play wav files. I've hit
a wierd error and I can't figure out how to solve it:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Em Ter, 2008-06-24 às 14:57 -0500, Norbert Wojtowicz escreveu:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Loading package SDL-0.5.4 ... linking ... done.
Loading package SDL-mixer-0.5.2 ... linking ... interactive:
marcot:
Em Ter, 2008-06-24 às 14:57 -0500, Norbert Wojtowicz escreveu:
Prelude import Graphics.UI.SDL.Mixer.Music
Prelude Graphics.UI.SDL.Mixer.Music loadMUS test.wav
Loading package SDL-0.5.4 ... linking ... done.
Loading package SDL-mixer-0.5.2 ... linking ... interactive:
On Tue, 24 Jun 2008, Alistair Bayley wrote:
2008/6/24 Henning Thielemann [EMAIL PROTECTED]:
(Btw. Takusen should be split into
several packages for all database backends because Cabal flags must not
influence the package interface.)
I don't understand this (cabal flags must not influence
On Sat, 21 Jun 2008, Lanny Ripple wrote:
I had luck with this the other day using Database.HDBC.ODBC. For
Ubuntu's Hardy I found that Oracle's 10.2.0.3 worked best.
(10.2.0.4 and 11 seemed to have problems for me at least.)
Hello Haskellers,
As an experiment I'm writing a parser for MediaWiki language. I'm using
the Alex lexer and Parsec. I have novice two questions.
(I've tried using Happy but I was unable to get a grammar file to
compile, which must be because I have no real experience using Yacc and
the like.
nielsadb:
Hello Haskellers,
As an experiment I'm writing a parser for MediaWiki language. I'm using
the Alex lexer and Parsec. I have novice two questions.
Just a quick question, did you try using the pandoc markdown parser?
2008/6/24 Henning Thielemann [EMAIL PROTECTED]:
When you run configure, you should get output that says:
Using Oracle: path
What is path?
I don't get these questions.
Sorry. I was really asking (not very clearly): what is the output from
runhaskell Setup.hs configure -foracle ? You've
Emacs Haskell Mode has the following useful feature: when Haskell -
Load File is used to load a file into GHCi from Emacs, Haskell Mode
automatically looks for a *.cabal file in an attempt to find the
project directory.
When Haskell Mode finds the *.cabal file, it fails to check whether it
has
Henning Thielemann wrote:
On Sat, 21 Jun 2008, Lanny Ripple wrote:
I had luck with this the other day using Database.HDBC.ODBC. For
Ubuntu's Hardy I found that Oracle's 10.2.0.3 worked best.
(10.2.0.4 and 11 seemed to have problems for me at least.)
SDL-mixer does not support the most recent SDL version. The problem is
that in SDL now Mix_LoadWAV is a macro.
I've tried it with SDL-0.5.2 from hackage as well with the same
problem. (Unless you mean an earlier version of the actual SDL
library?)
Ah ha, so it needs a cbits wrapper over the
wojtowicz.norbert:
SDL-mixer does not support the most recent SDL version. The problem is
that in SDL now Mix_LoadWAV is a macro.
I've tried it with SDL-0.5.2 from hackage as well with the same
problem. (Unless you mean an earlier version of the actual SDL
library?)
Ah ha, so it
Attached is a patched version of SDL_mixer 0.5.2 with a C wrapper
for this macro. I'm now able to run loadWAV in ghci.
Works for me, thanks!
Now I just need to learn how to make my WAVs sound not like
computer-generated children voices. For example, using the hback wav
files and this:
import
Jeremy Shaw wrote:
If any does attempt to build for the ARM, please, please, please,
document what you do in the wiki. And, if you do, edit the wiki as you
go, you definitely won't be able to remember what you did after the
fact. (Or, at the very least, use some program to capture everything
you
Emacs Haskell Mode has the following useful feature: when Haskell -
Load File is used to load a file into GHCi from Emacs, Haskell Mode
automatically looks for a *.cabal file in an attempt to find the
project directory.
I'm truly sorry about the fact that I only release new versions
rather
Cafe
I'm a bit lost on this exception and curious about what's going on. Is
there a valid reason for this exception that I am missing? Note the
hard-coded [0..100] could be any Word8 list you want (generated via
arbitrary, [], or other) and it gives the same result.
Load the module and perform:
-- Forwarded message --
From: tphyahoo [EMAIL PROTECTED]
Date: Jun 24, 7:26 pm
Subject: Cabalized, Self-Demoing, HStringTemplate-using HAppS Tutorial
To: HAppS
Hello HAppSers!
I have created a self-demoing, HStringTemplate-using intro to HAppS.
There is a live demo at
-- Forwarded message --
From: tphyahoo [EMAIL PROTECTED]
Date: Jun 24, 7:46 pm
Subject: Cabalized, Self-Demoing, HStringTemplate-using HAppS Tutorial
To: HAppS
There are some issues with the cabalized project -- templates are
missing. Doh.
Use darcs for now.
Thomas.
On Jun
Uy.
I think I got the cabal install version as well, but I had to specify
a mess of files manually.
So I'll probably be using darcs tag for future release if there are any ;)
thomas.
2008/6/24 tphyahoo [EMAIL PROTECTED]:
-- Forwarded message --
From: tphyahoo [EMAIL
... cabal install version _working_ as well...
(v0.2)
2008/6/24 Thomas Hartman [EMAIL PROTECTED]:
Uy.
I think I got the cabal install version as well, but I had to specify
a mess of files manually.
So I'll probably be using darcs tag for future release if there are any ;)
thomas.
Probably you need to implement coarbitrary, too.
My ghci session for your code:
$ ghci
GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
Prelude :l t.hs
[1 of 1] Compiling Main ( t.hs, interpreted )
t.hs:4:0:
Warning: No
On Tue, Jun 24, 2008 at 6:34 PM, Norbert Wojtowicz
[EMAIL PROTECTED] wrote:
Attached is a patched version of SDL_mixer 0.5.2 with a C wrapper
for this macro. I'm now able to run loadWAV in ghci.
Works for me, thanks!
Now I just need to learn how to make my WAVs sound not like
57 matches
Mail list logo