Yes, that GHC ticket shows that this problem is well known.
Thank you.
On Fri, Aug 30, 2013 at 2:19 AM, Ben Lippmeier b...@ouroborus.net wrote:
On 30/08/2013, at 2:38 AM, Daniel Díaz Casanueva wrote:
While hacking in one of my projects, one of my modules stopped to
compile for apparently
appropriate.
Thank you,
Daniel Díaz.
-- References
[1] -
https://github.com/ghc/ghc/blob/ghc-7.6.3-release/compiler/main/DynFlags.hs#L2266
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hello readers of Haskell-Cafe.
Yesterday I uploaded a new version of the processing library [1].
== What is this library for? ==
The library is oriented to create graphic applications that run in a web
browser, with no need of running a server. It provides the user with a set
of functions and
What I have always done to solve this is to create a custom Setup.hs.
Something like:
Setup.hs
-
import Distribution.Simple
main :: IO ()
main = doThisBeforeInstall defaultMain
-
Then you specify in your .cabal file that the Build-Type is Custom.
Best regards,
Daniel
Hello everyone.
I would like to check what dependencies is one of my packages compatible
with. For example, say I have a package called foo that depends on
package bar. Most likely, foo does not build with each version of
bar. What I want to do is try to build foo with each single version of
bar
, or any
other clever ideas that I didn't manage to think of. However, this looks
like the best approach right now.
Thank you,
Daniel Díaz.
On Thu, Jul 4, 2013 at 2:36 PM, Alp Mestanogullari alpmes...@gmail.comwrote:
You can just write a bash script that will do:
cabal install --constraint
, 2013 at 3:39 AM, Erik de Castro Lopo mle...@mega-nerd.comwrote:
Daniel Díaz Casanueva wrote:
Hi everyone.
I am writing a package where I am using the Paths module that cabal
generates automatically. After adding the Paths module to the
other-modules section in my cabal file everything
in the system and then calls defaultMain. The thing is that now
cabal install does not find the Paths module, so the package is broken.
Any thoughts? I need your help, people!
Thank you,
Daniel Díaz.
___
Haskell-Cafe mailing list
Haskell-Cafe
accepted.
Good luck,
Daniel Díaz.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hello Roman!
Thank you, this is a great contribution. I found myself several times
modifying the html output by hand in order to do exactly this. Nice!
On Fri, Jun 7, 2013 at 2:15 PM, Roman Cheplyaka r...@ro-che.info wrote:
I am happy to announce the first release of standalone-haddock.
Thank you, Albert, what you wrote is very useful.
Why the Cabal Guide is lacking this kind of information? Maybe I should
start gathering information in one place myself!
Thank you,
Daniel Díaz.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
aren't.
Therefore, in order to know what these options do, you have to search info
about that one specifically, when it would be much more convenient to have
all the information together.
So, is there any place like this out there in the web?
Thank you,
Daniel Díaz
LinkedIn
Daniel Díaz Casanueva requested to add you as a connection on LinkedIn:
--
Minh Thu,
I'd like to add you to my professional network on LinkedIn.
- Daniel
Accept invitation from Daniel Díaz Casanueva
http
My apologies,
I don't know how this e-mail has reached the Haskell-Cafe.
Sincerely,
Daniel Díaz.
On Wed, May 15, 2013 at 11:44 PM, Daniel Díaz Casanueva mem...@linkedin.com
wrote:
[image: LinkedIn Logo] http://www.linkedin.com/
Minh Thu,
**
Daniel Díaz
Hopefully, these problems will look easier separately.
Well, it's just an idea.
Good luck,
Daniel Díaz.
On Tue, May 14, 2013 at 4:57 PM, John knowledge1...@gmail.com wrote:
Hi,
I have to write a function which returns a list of all pairs (x,y) where x,
y ∈ N AND:
– x is the product
Well, definitely, isSqrt should be called isSquare.
On Tue, May 14, 2013 at 5:22 PM, Daniel Díaz Casanueva
dhelta.d...@gmail.com wrote:
You can always write it like this:
listPairs = [ (x,y) | x - [6 .. 499] , y - [0 .. 1000] , isProduct x ,
isSqrt y , mod y x == 0 ]
So you have
already done, that this questions
fits in better in the Haskell-Beginners mailing list.
http://www.haskell.org/mailman/listinfo/beginners
I hope this works for you,
Daniel Díaz.
Thanks again to all
--
View this message in context:
http://haskell.1045720.n5.nabble.com/list-comprehension
, Daniel Díaz Casanueva wrote:
Hi cafe!
Probably you all know how to do this, but I myself found confused when
building the Haskell Platform in Linux for my first time. I was using
Linux for my first time too! The first problem I encountered was to
decide what linux packages install to make
solving partial differential equations.
Bug reports, feedback, and improvements are always welcome.
-Levent.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
E-mail sent by Daniel
the same thing.
I think this is cleaner solution add NaN as a value to the Integer type.
Good luck,
Daniel Díaz.
On Sat, Apr 13, 2013 at 12:16 PM, Алексей Егоров elect...@list.ru wrote:
Hello haskellers,
is there a reason why Integer doesn't have 'NaN' as value?
I think it would be very
to start all over again, forgetting what I have learned so
far, I would fine this list very useful! This thought is what brought me
here to make it public. Who knows, maybe I am saving somebody of some
google searches and trials and errors.
With my best intentions,
Daniel Díaz.
--
E-mail sent
this.
Saludos de un malagueño,
Daniel Díaz.
On Wed, Apr 10, 2013 at 3:50 AM, Alejandro Serrano Mena
trup...@gmail.comwrote:
Hi,
Is there any Haskell or functional programmers user group in the region of
Madrid?
If not, I think it could be a great idea to get to know each other, and
share
://hackage.haskell.org/package/HaTeX-3.5
For those who don't know, HaTeX is a combinator library for LaTeX code.
Read more in the manual:
https://github.com/downloads/Daniel-Diaz/HaTeX-Guide/HaTeX-Guide.pdf
I recommend to HaTeX users to upgrade to this new version.
Good luck,
Daniel Díaz.
--
E-mail
http://www.haskell.org/mailman/listinfo/haskell-cafe
--
E-mail sent by Daniel Díaz Casanueva
let f x = x in x
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
f really is a kind of specialization of g.
Could the reason for f performing better be list fusion? Anything
happening inside Control.Monad.replicateM should be subject to it.
Cheers,
Thomas
Am 24.01.2013 15:31, schrieb Daniel Díaz Casanueva:
Hi Cafe,
I was coding this morning when I
a - m (Seq a)
g = Seq.replicateM
Maybe is just in my test case, where the Int argument is big and the
monadic action short, but it looks to me that Data.Sequence.replicateM can
be faster than it is right now.
Regards,
Daniel Díaz.
--
E-mail sent by Daniel Díaz Casanueva
let f x = x in x
Good point. However, I forced the result to evaluate using `deepseq` and I
still got similar results.
On Thu, Jan 24, 2013 at 11:41 AM, Gershom Bazerman gersh...@gmail.comwrote:
On 1/24/13 9:31 AM, Daniel Díaz Casanueva wrote:
import Control.Monad
import qualified Data.Sequence as Seq
s w
putMVar var w'
loop w'
forkIO $ loop w0
simulateIO ... (\_ _ w - fmap (fromMaybe w) $ tryTakeMVar var)
And it's working just fine!
Best regards,
Daniel Díaz.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
favorite programming language?
* Will I learn new programming strategies that I can use back in the
Haskell world?
Thanks in advance for your kind responses,
Daniel Díaz.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman
This is something I always missed. Thank you!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
with any pointer here.
Thanks in advance,
Daniel Díaz.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
! Hope it
helps!
Daniel Díaz.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
compile time error with
unknown symbol errors. I felt very odd so I switched this machine to the
Haskell Platform.
I hope someone could help me.
Thanks in advance,
Daniel Díaz.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org
Indeed, it seems to be for parsec:
? ghc-pkg latest bytestring
bytestring-0.9.1.10
? ghc-pkg latest parsec
parsec-3.1.2
Haskell Platform versions: bytestring-0.9.1.10, parsec-3.1.1.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
I have spent some time and, when I unregistered (with ghc-pkg unregister)
all dependencies (even indirect dependencies) I have installed since I have
the Haskell Platform, then the cabal install ftphs worked.
Now I feel I understand the problem, but still seems annoying.
Thanks for the pointer,
://deltadiaz.blogspot.com.es/2012/04/hatex-33-release-notes.html
Thanks and good luck,
Daniel Díaz.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
added to AMSMath module.
+ New LaTeX package implemented: graphicx.
+ Function 'documentclass' changed.
Further information on this release:
http://deltadiaz.blogspot.com/2012/02/hatex-chapter-32.html
Library homepage:
http://dhelta.net/hprojects/HaTeX
Thanks for reading,
Daniel Díaz
luck,
Daniel Díaz.
On Fri, Jan 13, 2012 at 6:26 PM, Vincent Berthoux
vincent.berth...@gmail.com wrote:
Hello,
I'd like to announce the first release of JuicyPixels, an image loading
library written entirely in Haskell. The focus of this library is ease of
use and correct loading
Hello Cafe!
Today I released to Hackage a new version of the HaTeX package (
http://hackage.haskell.org/package/HaTeX-3.1.0 ).
If you don't know HaTeX, it is a combinator library of the LaTeX syntax.
Visit the homepage for more information: http://dhelta.net/hprojects/HaTeX
Highlights:
+ Added
Hi Cafe,
I only feel curious about what would be the consequences of becoming the
Overloaded Strings feature (currently, an extension) to be default in
Haskell. This is not a proposal. I just want to know what pros and
cons there are.
Thanks!
___
maintain.
Furthermore, since the field would be optional, you still can avoid to
receive these mails.
--
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Then, the mailing list seems to be an option. But then I will receive mails
for every package, and there is a lot of packages! Is not a lot of mails
this? There is another work around?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
wrong or a I don't need to take care
about this.
Thanks in advance,
Daniel Díaz.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
notoriously, and I won't see
changes in performance.
But I will follow your pointers when necessary in the future.
On Sun, Oct 23, 2011 at 7:50 PM, Daniel Fischer
daniel.is.fisc...@googlemail.com wrote:
On Sunday 23 October 2011, 19:33:55, Daniel Díaz Casanueva wrote:
Hi, cafe!
I wrote
? Well, I have a public key I didn't put anywhere yet (but in
the community registration). I guess I'm lacking some authentication, but I
don't know how to solve it.
I hope someone can give me some pointers!
Thanks in advance!
And sorry if this is not a strictly-related Haskell question.
Daniel Díaz
Thanks JP and Ivan for the quick response!
Anyway, it seems I lack the private key mentioned (all I have is the public
key), and that sounds bad.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
this. HaTeX-meta in Hackage:
http://hackage.haskell.org/HaTeX-meta
A continously updated version of the source code from these packages can be
found at:
http://dhelta.net/hprojects/HaTeX/code
http://dhelta.net/hprojects/HaTeX-meta/code
Thanks for reading,
Daniel Díaz
It seems there is an error in the hackage URL's.
Working URL's:
http://hackage.haskell.org/package/HaTeX
http://hackage.haskell.org/package/HaTeX-meta
Sorry!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Hi, Dmitri,
here is newer guide, with updated links:
http://deltadiaz.blogspot.com/2011/03/on-windows-how-to-install-gtk.html
Hope it helps!
On Fri, Jun 10, 2011 at 5:30 PM, Dmitri O.Kondratiev doko...@gmail.comwrote:
Please help to find pre-compiled binary libraries of Gtk+ for Win32.
Hi all,
I've just uploaded Clipboard-2.2.0 to Hackage [1].
Clipboard [2] is a library that provides an interface for the system
clipboard. The API is very simple, so anyone can use it without knowing of
low-level Win32 API. Currently, this library only works on a Windows OS, due
to its
Hi, cafe,
I just feel curiosity. In the bytestring package, Data.ByteString module,
functions like length, index, and others with Int in its type signature,
have Int64 in the analogous Data.ByteString.Lazy version. What is the
reason?
--
Daniel Díaz
On Tue, 24 May 2011 10:42:34 +0200, Johan Tibell wrote:
Hi Daniel,
On Tue, May 24, 2011 at 10:07 AM, Daniel Díaz
danield...@asofilak.es wrote:
Hi, cafe,
I just feel curiosity. In the bytestring package, Data.ByteString
module,
functions like length, index, and others with Int in its type
:
hGetBufNonBlocking doesn't work on Windows:
http://hackage.haskell.org/trac/ghc/ticket/806
This was a bad surprise.
How can achieve my purpose without hGetBufNonBlocking?
Thanks in advance,
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http
I have installed successfully the gtk package on Windows.
GTK version: 2.16
gtk package version: 0.12.0
Haskell Platform version: 2010.2.0.0
I have detailed my steps (very similar to Mark Shroyer steps) here:
http://deltadiaz.blogspot.com/2011/03/on-windows-how-to-install-gtk.html
It seems
But I never had this problem before.
Thanks for any help,
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
. The function 'catch' doesn't work. I
guess this error comes from a call to 'error' function, or something
similar.
What I can do?
Thanks in advance,
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo
libraries: gobject-2.0, gthread-2.0, glib-2.0, intl
I've searched for these libraries, and, with --extra-include-dirs=, I've
included them. But the same error was thrown.
I'm sure I'm doing something wrong or, perhaps, I'm missing something.
Any help is welcomed!
Thanks in advance,
Daniel Díaz
\Escritorio\GTK\gtk+-bundle_2.16.6-20100912_win32\bin
C:\Archivos de programa\Haskell Platform\2010.2.0.0\mingw\bin
PKG_CONFIG_PATH and INCLUDE are empty now. Following the Mark Shroyer's
guide, these variables are not mentioned.
--
Daniel Díaz
Thanks for the responses, but my error remains.
I wrote two scripts, following both different instructions.
Script 1:
@echo off
title GTK Haskell Setup
echo * Add GTK bin folder.
set PATH=%PATH%;C:\Documents and Settings\User\Escritorio\GTK\GTKAIO\bin
echo * Add GTK include folder.
set
think the problem here is another. Anyway, I
will test it.
--
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
a)
It seems a very nice feature. I commonly write the same context many
times. In other cases, I need to make the same change on many equal
contexts. I wonder if there is something negative in this feature.
--
Daniel Díaz
___
Haskell-Cafe mailing list
appreciate an explanation (or possible explanation), rather than
an update it manually.
Thanks in advance.
--
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
El Sab, 13 de Noviembre de 2010, 10:33 am, Ivan Lazar Miljenovic escribió:
On 13 November 2010 19:48, Daniel Díaz danield...@asofilak.es wrote:
Hi all,
I just installed the Haskell Platform, and when I try cabal update, I
have the following output:
Downloading the latest package list from
different roles.
Perhaps, this is madness, but I wanted to read other opinions on this topic.
--
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
* SUBCAT. A2
** Pack. 2
** Pack. 3
CAT. B
* SUBCAT. B1
** Pack. 4
** Pack. 3
* SUBCAT. B2
** Pack. 1
** Pack. 5
Thanks for the opinion.
--
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Take a look to the Haskell Report:
http://www.haskell.org/onlinereport/haskell2010/haskellch9.html#x16-1710009
--
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Those are all operators in Prelude. See a concrete library for their
operator precedences.
--
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
El Lun, 6 de Septiembre de 2010, 7:50 pm, David Menendez escribió:
Operators default to infixl 9 unless specified otherwise,
so no infix declaration is needed.
Why there is a default infix? Why it is 9?
--
Daniel Díaz
___
Haskell-Cafe mailing list
GHC's icon is a little different from Hugs' icon. However, your icon is
prettier. WinGHCi's icon is nice too. Off course, it's just an opinion.
--
Daniel Díaz
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman
I don't understand why to call impure to the types instances of a class.
Monad is simply a class with their methods. Even the pure list is a monad.
The only difference between Monad and other classes is do notation, and only
affects notation.
The impure side is a type, not a class: IO.
Hi all,
I want to open a Haskell forum based on phpBB, but I need some collaborators
for organize its content, and moderate its use. When we have finished, I
will open this forum for the entire community of Haskell!
If you are interested, mail me:
danield...@asofilak.es
Thanks in advance.
Well, I thought that it may be a more comfortable way to communicate between
us. Specially for newcomers. Don't forget that Haskell is a growing
community.
It's just my opinion.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
Hi,
I uploaded a package, named HaTeX, to Hackage, but it gets a build failure:
cabal: Couldn't read cabal file ./HaTeX/1.0.0/HaTeX.cabal
It makes reference to 1.0.0 version, even when building version 1.0.1.
I get the same error when I use cabal install. However, using
configurebuildregister
73 matches
Mail list logo