Re: [Haskell-cafe] Poll plea: State of GUI graphics libraries in Haskell

2013-09-27 Thread Luis Cabellos
However, I would prefer to have two different types of libraries in haskell: For graphics, something like SFML or SDL, no GUI implicit. but with good/modern OpenGL. Maybe we won't need a direct binding, but rethinking who should be done a SDL-like library in Haskell. Yep, FRP is cool, but need

Re: [Haskell-cafe] 9.3 - (2 * 4.5) = 0.3000000000000007

2013-01-16 Thread Luis Cabellos
You should read http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.22.6768 If you want to be efficient with floats. Language independent. Luis On Wed, Jan 16, 2013 at 2:25 PM, ivan dragolov i...@dragolov.net wrote: 9.3 - (2 * 4.5) = 0.3007 I expected 0.3 ? -- Иван

[Haskell-cafe] ANN: OpenCL 1.0.3.0 package

2012-01-23 Thread Luis Cabellos
* Fixes on Windows, Macos and Linux versions (thanks Anthony Cowley, ehird, axman6) * Fix bug with preprocessor code in OpenCL source code * Fix clSetKernelArg to allow cannot specify size of local memory arrays Thanks, Luis Cabellos ___ Haskell-Cafe

Re: [Haskell-cafe] ANN: OpenCL 1.0.2.2 package

2011-11-24 Thread Luis Cabellos
I update the package to 1.0.2.3 addid several changes from Elliott Hird, in special a better install proccess with includes added to package tree. On Wed, Nov 23, 2011 at 4:00 PM, Luis Cabellos cabel...@ifca.unican.eswrote: Hello, all. I update the OpenCL package with a better error handle

[Haskell-cafe] ANN: OpenCL 1.0.2.2 package

2011-11-23 Thread Luis Cabellos
(https://github.com/zhensydow/opencl/issues) # Changes: * Changed LICENSE to BSD3 * Changed error from 'IO (Either CLError a)' to IO a + CLError exceptions * Added creation of programs using precompiled binaries (added example program) * Better documentation. Thanks, Luis Cabellos

Re: [Haskell-cafe] ANN: OpenCL 1.0.1.3 package

2011-10-17 Thread Luis Cabellos
On Thu, Oct 13, 2011 at 9:13 PM, Martin Dybdal dyb...@dybber.dk wrote: Hi everyone I just found this thread today, as I don't read Haskell-cafe that often (too bad, I know). I have been working on a set of OpenCL bindings for the last months myself, which I'm using to implement an OpenCL

Re: [Haskell-cafe] ANN: OpenCL 1.0.1.3 package

2011-10-06 Thread Luis Cabellos
On Tue, Oct 4, 2011 at 7:46 PM, Jason Dagit dag...@gmail.com wrote: On Tue, Oct 4, 2011 at 12:54 AM, Luis Cabellos cabel...@ifca.unican.es wrote: I understand your point. I didn't know the problems with cross module inlining that Haskell suffers. I learned the BSD3, I think is a good

Re: [Haskell-cafe] ANN: OpenCL 1.0.1.3 package

2011-10-04 Thread Luis Cabellos
On Mon, Oct 3, 2011 at 6:04 PM, Jason Dagit dag...@gmail.com wrote: On Mon, Oct 3, 2011 at 3:56 AM, Luis Cabellos cabel...@ifca.unican.es wrote:Your bindings are a higher quality than the the OpenCLRaw bindings and you're doing good technical work, but I stopped using your bindings

[Haskell-cafe] ANN: OpenCL 1.0.1.3 package

2011-10-03 Thread Luis Cabellos
Hello, all. I want to show you the OpenCL package. I have done this using Jeff Heard OpenCLRaw package, but I create a new one due the lack of updates of the former. # Where to get it * Hackage page (http://hackage.haskell.org/package/OpenCL) * Repository (https://github.com/zhensydow/opencl) *

Re: [Haskell] getting started

2011-09-28 Thread Luis Cabellos
On Wed, Sep 28, 2011 at 11:56 AM, haskell shubhammaheshwa...@gmail.comwrote: i am new to haskell can you tell me the softwares to install in haskell i have install hugs emacs but when i write any code it gives same error can you help me start i have lekash too i have installed some more

Re: [Haskell-cafe] Haskell Platform Older Releases for Linux

2011-09-12 Thread Luis Cabellos
Thanks, i can check the ghc version on cabal file. On Fri, Sep 9, 2011 at 6:53 PM, Joachim Breitner m...@joachim-breitner.dewrote: Hi, Am Freitag, den 09.09.2011, 13:02 +0200 schrieb Luis Cabellos: I search the Haskell Platform webpage for older releases, I found it but maybe it's

[Haskell-cafe] Haskell Platform Older Releases for Linux

2011-09-09 Thread Luis Cabellos
Hi, I search the Haskell Platform webpage for older releases, I found it but maybe it's worth to put a table of older releases as tar.gz file with their ghc dependency, like (versions totally make up): HP 2011.2.0.0 source, March 2011. - ghc 13.1 HP 2010.2.0.0 source, July 2010. - ghc 3.14

[Haskell-cafe] Library Versioning

2011-06-07 Thread Luis Cabellos
Hello, I have a question about cabal versioning. It's possible to export in a cabal library a version, so instead of getting version from: import Paths_my_package( version ) I want to get version from my library using: import MyPackage( version ) And then using this from programs.

Re: [Haskell-cafe] Library Versioning

2011-06-07 Thread Luis Cabellos
You can export things from one module that are defined in other modules. For example: module MyPackage ( version, ... ) import Paths_my_package( version ) ... Yes indeed, but I getting ugly errors (undefined references to version I think) when use Paths_my_package from library, and i

Re: [Haskell-cafe] Library Versioning

2011-06-07 Thread Luis Cabellos
Did you tell cabal that Paths_my_package is a part of your library? If it is referenced by your code, then it should be listed in either exposed-modules or other-modules, otherwise it won't be installed. I've never used dyre so I don't know whether it would cause any issues, but I suspect

[Haskell-cafe] Traypoweroff questions

2010-04-08 Thread Luis Cabellos
without force user touch configuration files. myuser ALL=(ALL) NOPASSWD: /sbin/poweroff Thanks for the help, Luis Cabellos p.d: I'll add suspend with pm-suspend command in the next version BTW ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org

[Haskell] Signature error because the order

2010-01-14 Thread Luis Cabellos
, simple Failed, modules loaded: none. But if I change the order of *Show* and *Num* in the signature of * prettyShow* it works. It's a GHC problem? it's normal than signature is order-dependent? I use *GHC 6.10.3* Thanks, Luis Cabellos -- LC, (There is no Dana, only Zuul. - Cazafantasmas [1984

Re: Foreign C with pointers

2007-12-19 Thread Luis Cabellos
Thanks to all, that is the example that i need. I'll test the example.zip right now. -- Luis Cabellos ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Foreign C with pointers

2007-12-18 Thread Luis Cabellos
the Data after the call Where can i get a good tutorial about FFI? I try http://www.haskell.org/hdirect/ffi.html but it's too general (need i pair of examples, i think) -- Thanks a lot, Luis Cabellos ___ Glasgow-haskell-users mailing list Glasgow-haskell

Re: About -Wall option

2007-12-06 Thread Luis Cabellos
I think that put signatures is a good practice. I will switch to that. Maybe I preferred to not put signatures because is cooler than other languages type systems :-D Wolfgang Jeltsch wrote: Inserting all type signatures is definitely best practice. Yitzchak Gale wrote: My personal style is:

About -Wall option

2007-12-05 Thread Luis Cabellos
of complains about type signature. Maybe the type signature is something that not need to be checked as a warning. But if the best practice is to put all the signatures, I found that Cabal generated code need to be fixed, because -Wall complains about it also. -- Thanks, Luis Cabellos

Re: suggestion: add a .ehs file type

2007-11-21 Thread Luis Cabellos
mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users -- Luis Cabellos, http://malcodigo.blogspot.com ___ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org

[Haskell-cafe] Haddock question

2006-11-25 Thread Luis Cabellos
but it don't has the comments from *.hs file. I use --prefix=c:\programs instead of --prefix=$HOME in configure. Because I am working on Windows. I don't use darcs, but I think that it's not the problem. -- Thanks a lot, Luis Cabellos ___ Haskell-Cafe mailing