Stephen Tetley wrote:
Hello Mike
A pitch class set represents Z12 numbers so I'd define a Z12 number
type then store it in a list (if you have need a multiset -
duplicates) or Data.Set (if you need uniqueness).
If you want an efficient implementation for *sets* of Z12 numbers I'd
recommend
Is there any free code anywhere for performing logistic regression? I
can't see anything on hackage.
--
Colin Adams
Preston Lancashire
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Michael Lesniak wrote:
Hello,
I've written a smaller example which reproduces the unusual behaviour.
Should I open a GHC-Ticket, too?
Hi,
I get these results:
$ time ./Temp +RTS -N1 -RTS 16
real0m16.010s
user0m10.869s
sys0m5.144s
$ time ./Temp +RTS -N2 -RTS 16
real
Hello,
getTime? I wonder if that number might be causing the problem; can you
replicate it with lower sys times?
That was it! Thanks Neil!
When I'm using some number crunching without getTime it works (with
more or less the expected speedup and usage of two cores) on my Ubuntu
9.10, too.
Out
2009/11/16 zaxis z_a...@163.com:
%uname -a
Linux myarch 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009 i686
AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ AuthenticAMD GNU/Linux
%xmonad --version
xmonad 0.9
In firefox, the `save as` dialog doesnot appear when i want to choose
Michael Lesniak wrote:
Hello,
getTime? I wonder if that number might be causing the problem; can you
replicate it with lower sys times?
That was it! Thanks Neil!
When I'm using some number crunching without getTime it works (with
more or less the expected speedup and usage of two
Hello,
On Nov 13, 2009, at 11:54 PM, Niklas Broberg wrote:
But the problem at hand here is auto-generated AST code, where we
cannot rely on the parser to do the right thing. There's help in the
AST such that it's possible to explicitly insert brackets where
needed, but I agree with Dominic
Hi all.
I'm a developer of gtk2hs project at code.haskell.org
But i found i lost my SSH key when i update new system, and i can't push patch
to gtk2hs.
I have send mail to supp...@community.haskell.org for this problem, but
i'm not sure that's the right place.
So how to update SSH key with my
I have subscribed to xmonad maillist but i never received any email !
Deniz Dogan-3 wrote:
2009/11/16 zaxis z_a...@163.com:
%uname -a
Linux myarch 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009 i686
AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ AuthenticAMD GNU/Linux
%xmonad
Thanks Don,
I read the PDF. I was not able to figure out how to get the BASIC module.
Wanted to see a reference implementation.
The DSL I want to start with is a music generation DSL ... It should generate a
wave file
with music data as input - for example the input could contain
C3 D3 E3 ...
Hi,
This package is to be used with hsc2hs. (hsc2hs is called
automatically if you use Cabal.) It's a self-contained set of
macros used to create a Haskell wrap for a C interface. They
follow the idea that it's better to have a C-like wrap code
first and then write Haskell-like code on top of
From: haskell-cafe-boun...@haskell.org
[mailto:haskell-cafe-boun...@haskell.org] On Behalf Of John Meacham
On Fri, Nov 13, 2009 at 08:55:51PM +, Lennart Augustsson wrote:
That was indeed my point. Since a compiler is a
substantial program I
would have more confidence it a compiler
On Sun, Nov 15, 2009 at 8:59 PM, Don Stewart d...@galois.com wrote:
alexey.skladnoy:
I found that perfomace of indexU is very poor and it is not fast O(1)
operation which is very surprising. Here is some benchmarcking I've
done. Everything compiled with -O2
You're using the streamed version
On 16/11/2009, at 22:46, Alexey Khudyakov wrote:
Problems begin when you need non-contiguous block. Easiest way to so
is indexing.
FWIW, this operation is called backpermute and is probably exported as bpermute
in uvector.
Roman
___
Haskell-Cafe
Niklas Broberg niklas.broberg at gmail.com writes:
please? http://trac.haskell.org/haskell-src-exts
Niklas, I'd love to raise a bug for it but unfortunately I can't log on to
trac. I don't understand why but none of my colleagues can log on either. It's
been a long standing issue. I presume
Dominic Steinitz dominic at steinitz.org writes:
Niklas Broberg niklas.broberg at gmail.com writes:
please? http://trac.haskell.org/haskell-src-exts
Niklas, I'd love to raise a bug for it but unfortunately I can't log on to
Good news. Although I couldn't logon as guest, I've created an
on the Haskell wiki?
http://www.haskell.org/haskellwiki/Relational_algebra
Günther
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
on the Haskell wiki?
http://www.haskell.org/haskellwiki/Relational_algebra
Günther
According to the page history, the userid is EndreyMark.
Alistair
*
Confidentiality Note: The information contained in this message,
and any
2009/11/16 Günther Schmidt gue.schm...@web.de:
on the Haskell wiki?
http://www.haskell.org/haskellwiki/Relational_algebra
Günther
http://www.haskell.org/haskellwiki/?title=Relational_algebraaction=history ?
--
gwern
___
Haskell-Cafe mailing list
Hi Alistair,
thanks, do you happen to know his email address?
I try to get in touch with him because this particular subject is of great
importance to me and he seems to have done quite a lot of research already.
Günther
Am 16.11.2009, 15:38 Uhr, schrieb Bayley, Alistair
Colin Paul Adams wrote:
Is this connected with the in-and-out status of the time library in
the GHC 6.10.x series?
Is there a work-around?
Using the current HDBC (2.2.1) would fix it for you.
-- John
___
Haskell-Cafe mailing list
2009/11/16 Günther Schmidt gue.schm...@web.de:
Hi Alistair,
thanks, do you happen to know his email address?
I try to get in touch with him because this particular subject is of great
importance to me and he seems to have done quite a lot of research already.
Günther
Most Haskell wiki
The Industrial Haskell Group (IHG) is an organisation to support the
needs of commercial users of the Haskell programming language.
The second round of the IHG's collaborative development scheme will be
running for 6 months from January. We are now inviting additional
companies to take part. This
Help us weed the GHC ticket database, and get a warm fuzzy feeling from
contributing to Haskell core technology!
There are currently ~750 tickets against GHC. Many of them have not
been looked at in months or years. Often when I go through old tickets
I find easy targets: bugs that have
On Mon, 16 Nov 2009 00:03:54 +0300 Eugene Kirpichov ekirpic...@gmail.com
wrote:
EK 2009/11/15 Michael Mossey m...@alumni.caltech.edu:
Can someone tell me if this is correct. I'm guessing that if I represent
two sets of integers by Word32 (where ith bit set means i is in the set),
then an
Greetings list,
I was um well, drinking beer and thought it would be amusing to write a
brainfuck interpreter which runs within the GHC type checker so I did,
using type families.
I haven't decided whether or not to put it on hackage (it is rather
silly after all) but I have a link to a
Awesome, however, I don't know what the policy is for such --
interesting -- names on Hackage. Normally I believe the response to
Should I put it on Hackage is a resounding, immediate Absolutely.
In this case, perhaps a small name change to avoid any possibility of
offense?
/Joe
On
On Mon, Nov 16, 2009 at 12:23 PM, Joe Fredette jfred...@gmail.com wrote:
Awesome, however, I don't know what the policy is for such -- interesting --
names on Hackage. Normally I believe the response to Should I put it on
Hackage is a resounding, immediate Absolutely. In this case, perhaps a
Well then, send it up to the great Hackage machine! If the f-bombs are
allowed...
I think my package names are about to get alot less SFW...
On Nov 16, 2009, at 12:26 PM, Gwern Branwen wrote:
On Mon, Nov 16, 2009 at 12:23 PM, Joe Fredette jfred...@gmail.com
wrote:
Awesome, however, I
You can find teh BASIC module on hackage:
http://hackage.haskell.org/package/BASIC
Download .tar.gz file and you can see the source.
On Mon, Nov 16, 2009 at 3:16 AM, CK Kashyap ck_kash...@yahoo.com wrote:
Thanks Don,
I read the PDF. I was not able to figure out how to get the BASIC module.
On Wed, 11 Nov 2009, Tom Nielsen wrote:
There's a couple of things going on here:
-If you use storablevector and storable-tuple, or uvector, you can
store tuples of things. So your stupidArrayElement could be mimicked
by (Int, Int).
Btw. there is Data.Array.Storable. Maybe I should just add
Have you seen the Haskell School of Expression book by Paul Hudak?
The book is available on line, Ch 9 and 10 talks about music.
http://plucky.cs.yale.edu/cs431/HaskoreSoeV-0.7.pdf
Daryoush
On Mon, Nov 16, 2009 at 3:16 AM, CK Kashyap ck_kash...@yahoo.com wrote:
Thanks Don,
I read the
Try with -XExtendedDefaulingRules.
On Mon, Nov 16, 2009 at 6:33 AM, Mark Lentczner ma...@glyphic.com wrote:
I'm looking for a good way to handle a library interface that accepts both
strings and numbers in particular argument positions:
Start with the following definitions. I've defined
Thank you very very much Daryoush ... I had not seen the book ... Looks pretty
interesting, I saw it mentioning Midi though ...
Thank you Justin for the location of the BASIC module.
Regards,
Kashyap
From: Daryoush Mehrtash dmehrt...@gmail.com
To: CK Kashyap
2009/11/15 Eugene Kirpichov ekirpic...@gmail.com
Hey, I've found terrific slides about monoids!
http://comonad.com/reader/wp-content/uploads/2009/08/IntroductionToMonoids.pdf
Edward Kmett, you rock!
Glad you enjoyed the slides. =)
There's more
Correction: the correct link is http://www.haskell.org/haskellwiki/Failure
2009/11/16 Michael Snoyman mich...@snoyman.com:
Folks,
We are extremely happy to announce the control-monad-failure and
safe-failure packages for error handling.
control-monad-failure provides a basic notion of
Folks,
We are extremely happy to announce the control-monad-failure and
safe-failure packages for error handling.
control-monad-failure provides a basic notion of failure which does not
commit to any concrete representation.
It is just a version of the MonadError class without the annoying bits.
In my own opinion, the reason why we use the concept of a monoid or a
monad is in order to build libraries around the concepts.
For example, the do construct could have been designed just for
doing IO, but because it works for *any* monad you can also use the
same syntax sugar to
Hi all,
I'm stuck with a problem where I need serious help from other haskellers,
in particular those that participate here on this list. It's a rather big
project and I will need to set it up in an organized way, something with a
blog, web page or other means.
I tried to solve it by
Hello,
If there's a file called Prelude.hs in a directory, and ghci is
started from that directory, ghci dies.
-- Prelude.hs
module A.Prelude where
$ ghci
GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ...
We'd like to announce the second release (version 0.0.1) of the attempt
package, for handling of failures. This release has been made to work with
the new control-monad-failure package[1] in an effort to standardize failure
handling.
Notable changes to this release:
* The MonadAttempt class was
Ummm. what is it?
2009/11/16 Günther Schmidt gue.schm...@web.de:
Hi all,
I'm stuck with a problem where I need serious help from other haskellers, in
particular those that participate here on this list. It's a rather big
project and I will need to set it up in an organized way, something
What is this big project about?
Why not use www.sourceforge.net?
On Mon, 16 Nov 2009 21:15:44 +0100, you wrote:
Hi all,
I'm stuck with a problem where I need serious help from other haskellers,
in particular those that participate here on this list. It's a rather big
project and I will
Hello Casey,
Monday, November 16, 2009, 11:30:51 PM, you wrote:
Why not use www.sourceforge.net?
i strongly recommend http://code.google.com or http://codeplex.com
SF is slow and olf-fashioned
--
Best regards,
Bulatmailto:bulat.zigans...@gmail.com
Excerpts from Sean McLaughlin's message of Mon Nov 16 15:27:55 -0500 2009:
Is there a way around this? I often like to have a modified Prelude
file in a subdirectory of my project, and this behavior keeps me from
being able to start ghci there.
Excerpts from Michael Snoyman's message of Mon Nov 16 14:39:14 -0500 2009:
control-monad-failure provides a basic notion of failure which does not
commit to any concrete representation.
It is just a version of the MonadError class without the annoying bits.
Excellent! I've used MonadError in
Correction: that's version 0.0.2 that was just release.
On Mon, Nov 16, 2009 at 10:28 PM, Michael Snoyman mich...@snoyman.comwrote:
We'd like to announce the second release (version 0.0.1) of the attempt
package, for handling of failures. This release has been made to work with
the new
On Mon, Nov 16, 2009 at 2:43 PM, Bulat Ziganshin
bulat.zigans...@gmail.com wrote:
Hello Casey,
Monday, November 16, 2009, 11:30:51 PM, you wrote:
Why not use www.sourceforge.net?
i strongly recommend http://code.google.com or http://codeplex.com
SF is slow and olf-fashioned
If you like
Hi Luke,
creating an EDSL for abstract terms in Relational Algebra, which can then
be either compiled to SQL or evaluated to in-memory code. The closest
thing I've seen and used so far is HaskellDB, but it immediately compiles
to SQL, while I want to leave that part flexible.
Günther
Günther Schmidt wrote:
Hi all,
I'm stuck with a problem where I need serious help from other
haskellers, in particular those that participate here on this list.
It's a rather big project and I will need to set it up in an organized
way, something with a blog, web page or other means.
I
The most recent version of this book is
http://plucky.cs.yale.edu/cs431/HaskoreSoeV-0.12.pdf
(See http://plucky.cs.yale.edu/cs431/reading.htm )
Regards,
Henk-Jan van Tuyl
--
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
--
On Mon, 16 Nov 2009 18:49:07 +0100,
Cool, I'm in! (Also inspired by [1]this post by Erik de Castro Lopo)
It would be nice to keep track of participants somewhere, so that each
of us knows he's not alone :)
1. http://www.mega-nerd.com/erikd/Blog/CodeHacking/DDC/hacking_ddc.html
* Simon Marlow marlo...@gmail.com [2009-11-16
Hello,
I'm also interested and find Roman's idea about a wiki-page for
tracking motivating.
So the idea we have is this: do an incremental sweep of the whole
database, starting from the oldest tickets. Check each one, and try to
make some progress on it. If we get enough momentum going we
My personal opinion is that such f-bombs really have no place on what is
a font of software dissemination.
My point of view is a fallacy however. Consider a new, viable
programming language which has a syntax based entirely on GG-Allin
lyrics.
Obviously this would disgust a decent programmer
Hi all,
I don't think the *project* is ready for sourceforge or similar yet. I was
thinking more about something bloggish first, where I could state some
thoughts first and where people could then comment or otherwise contribute.
I reckon it will be some time until the project needs a code
2009/11/16 Günther Schmidt gue.schm...@web.de:
Hi all,
I don't think the *project* is ready for sourceforge or similar yet. I was
thinking more about something bloggish first, where I could state some
thoughts first and where people could then comment or otherwise contribute.
I reckon it
If all you are looking for is a place to chat about and garner
feedback on your ideas for a new Haskell library, then why don't you
just tell *us* what's on your mind? :-)
I mean, we've just spent 37 posts talking about monoids in the last 48
hours, so we aren't exactly an unopinionated
Günther Schmidt wrote:
Hi all,
I'm stuck with a problem where I need serious help from other
haskellers, in particular those that participate here on this list. It's
a rather big project and I will need to set it up in an organized way,
something with a blog, web page or other means.
I
What's the status of the TDNR proposal [1]? Personally I think it is a
very good idea and I'd like to see it in Haskell'/GHC rather sooner
than later. Working around the limitations of the current record
system is one of my biggest pain points in Haskell and TDNR would be a
major improvement. Thus
Hi. I'm aware of this option, and use it frequently to override the
default prelude, but it doesn't help this problem:
$ ghci -XNoImplicitPrelude
GHCi, version 6.10.4: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ...
Hi Greg,
you folks sure aren't, but I'm so bloody disorganized, I'll never it right
this way.
Günther
Am 17.11.2009, 00:50 Uhr, schrieb Gregory Crosswhite
gcr...@phys.washington.edu:
If all you are looking for is a place to chat about and garner feedback
on your ideas for a new
On Mon, 16 Nov 2009 23:43:49 +0300, you wrote:
Hello Casey,
Monday, November 16, 2009, 11:30:51 PM, you wrote:
Why not use www.sourceforge.net?
i strongly recommend http://code.google.com or http://codeplex.com
SF is slow and olf-fashioned
Just because a Scandinavian started it, doesn't mean
On Sat, 2009-10-31 at 10:45 -0500, Thomas Hartman wrote:
cabal haddock -–hyperlink-source
installs documentation with links to source code, which also be on by defualt.
cabal install –haddock-options=–hyperlink source
does not install hyperlinked source.
This is an instance of the lack
On Wed, 2009-10-28 at 17:34 -0200, Maurício CA wrote:
Hi,
I've been using 'install-includes' in a package. I sometimes make
small changes to those include files, and I've seen that cabal
doesn't consider then dependencies, i.e., doesn't rebuild .hsc
files depending on then.
I'm not sure
On Sat, 2009-11-14 at 17:31 -0200, Felipe Lessa wrote:
On Sat, Nov 14, 2009 at 01:47:04PM -0200, Maurício CA wrote:
Suppose package B depends on A. If a new
version of A is uploaded to hackage, how much
later package B will be rebuilt (either to show
a problem with the new version or to
Hi James,
it's still very very far away from even a single line of code. I'd need a
medium to lay this out first and discuss the idea. I'd normaly use this
list, but I think it's a bit too volatile a medium for that. Most of the
time I'm unable to find the threads I was interested in ever
Why not just create a wiki?
- S
On 17.11.2009 01:54, Günther Schmidt wrote:
Hi James,
it's still very very far away from even a single line of code. I'd
need a medium to lay this out first and discuss the idea. I'd normaly
use this list, but I think it's a bit too volatile a medium for
The GNOME Keyring is a service for securely storing per-user secret
information, such as passwords and encryption keys, on the GNOME
desktop. This library is a binding to the libgnome-keyring C library.
The API is still a bit too slave-ish to the original for my taste,
some modules will be
A small package with bindings to a function in wchar.h that
assigns a column width to Unicode characters.
http://hackage.haskell.org/package/wcwidth-0.0.1
This is the function that tells your terminal to make Chinese
characters two columns wide while making the letter 'a' but
one
How about patch-tag?
It's built with haskell (happstack), and one of its founding goals is to
promote the use of haskell in real world so you're sure to be surrounded by
like minded people.
And wikis are about to go live so you could help beta test that feature too
:)
thomas.
Am 16. November
Michael Snoyman schrieb:
control-monad-failure provides a basic notion of failure which does not
commit to any concrete representation.
It is just a version of the MonadError class without the annoying bits.
class MonadFailure e m where failure :: e - m a
Why is it called MonadFailure
71 matches
Mail list logo