[Haskell-cafe] Do you want to maintain bindings-DSL?

2013-09-13 Thread Maurício Antunes
consistency. Or you could keep the original goal, and maybe add a mailing list and a web page where users could request new libraries and discuss solutions to trick issues. A possible plan for version 2 is to be independent of hsc2hs, and use a new syntax instead of C macros. Thanks. Best, Maur

Re: [Haskell-cafe] video for linux two (v4l2) bindings

2011-07-08 Thread Maurício Antunes
Just download from that link, unpack and do 'cabal install' inside the new directory. Best, Maurício 2011/7/8, Claude Heiland-Allen : > Hi, > > On 05/07/11 10:19, Christopher Done wrote: > [snip] >> /usr/bin/ld: >> /home/chris/.cabal/lib/bindings-posix-1.2.

Re: [Haskell-cafe] [Off-topic]Functional parsing theory

2010-10-09 Thread Maurício Antunes
design? Thanks, Maurício 2010/10/7, bieniusa : > It's not entirely clear what you mean: > > Do you want to describe grammars or parsers functionally: > > In the first case, parser combinators are what you want (or some > encoding of them). There are many variations on these: LL(k)

[Haskell-cafe] Who takes care of Haskell mailing lists?

2009-05-27 Thread Maurício
t authorized to use it. Is there someone I could contact about that? Thanks, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Haskell programmers in São Carlos - SP - Brazil?

2009-05-26 Thread Maurício
ish, and even for those who use english all time most of us will always be able to write deeper thoughts in Portuguese than in English. I'll check with the guys at: http://haskell.org/mailman/listinfo If it doesn't suceed, we'll just erase it. Best, Maurício ___

Re: [Haskell-cafe] Haskell programmer s in São Carlos - SP - Brazil?

2009-05-26 Thread Maurício
Is there already any mailing list or group in Portuguese? I would like that if it were a list for Portuguese speakers, no matter they are from Portugal or Moçambique. Maurício > Hey, we have enough people for a São Paulo Haskell User Group. > Anyone else interested? > > Best regar

[Haskell-cafe] Re: haddock could be a pretty-printer?

2009-05-22 Thread Maurício
have to resort to braces or bad indenting to get code to parse, but I like to give it good presentation before publishing. I used to pretty-print my code using haskell-src-exts with great result, but that kills documentation. Best, Maurício ___ H

[Haskell-cafe] haddock could be a pretty-printer?

2009-05-22 Thread Maurício
, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Problem with haddock importing definition

2009-05-20 Thread Maurício
hat ticket, maybe that can help. (Just to note, my problem was solved by 'other-modules'.) Thanks, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Problem with haddock importing definition

2009-05-15 Thread Maurício
. So: if my .cabal file lists A and B in 'exposed-modules', documentation for R is included in A documentation. If I remove B from 'exposed-modules', R documentation in A desapears. Do you know what should I do? Thanks, Maurício

[Haskell-cafe] Re: List of exports of a module - are there alternatives?

2009-05-13 Thread Maurício
module of 20 maintenance can be painfull to your eyes, going up and down into your file to check if the list is correct. Maurício > I would like to see this too. Maybe just a private keyword that would > make everything after it invisible to the outside (or until a public > keyword appe

[Haskell-cafe] List of exports of a module - are there alternatives?

2009-05-12 Thread Maurício
t) export? (I think something like that could be nice when we have modules with 200 declarations and just a few are (not) going to be exported.) Thanks, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: When is it OK to create a new mailing list?

2009-05-04 Thread Maurício
mailing list work well, maybe what you need is just a bug-tracking system. The community server provides that (as Duncan pointed earlier). Best, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Help from C libraries experts

2009-04-30 Thread Maurício
one for general use. Sometimes, this may be adding the C code itself, as is my current attempt on sqlite3. Sometimes the task can be delegated to pkg-config. Actually, that is the reason why my first post was a call for help from libraries experts. This has to

[Haskell-cafe] Re: Help from C libraries experts

2009-04-30 Thread Maurício
agreeing with the concept. > Maybe this is a better discussion for librar...@? OK. I'll repost there, with text updated after your thoughts. Thanks, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Why do I need a 'do'?

2009-04-30 Thread Maurício
://www.haskell.org/haskellwiki/Avoiding_IO#State_monad Or, if you want the original idea: sequence (rollNDice 10) Check the type of sequence at Control.Monad. Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Help from C libraries experts

2009-04-29 Thread Maurício
ll probably have to be someone better than me) I think a new module space is worthwhile. Maybe 'Foreign.Bindings.*' instead of 'Bindings.*'. Sorry for the long post, but it took me a lot of time to get the proper design for this package, specially for the guidelines. If it doesn't work (i.e., nobody gets interested), it's dead for good. Best, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Help from C libraries experts

2009-04-29 Thread Maurício
it. Best, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] What happened to Haskell original goals?

2007-01-10 Thread Maurício
or helping me learning this really cool language. Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Haskell genetic algorithm

2006-08-18 Thread Maurício
Hi, Does anyone knows of nice genetic algorithms implementations in Haskell? Thanks, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Genetic programming Haskell

2006-08-15 Thread Maurício
experimental one)? Thanks, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Nice cygwin application to be used with ghci

2006-08-15 Thread Maurício
y stable and I never had unexpected results while using it. Since the issue of ghci integration with terminals has been raised here sometimes, I thought some guys here would be interested (actually, I found rlwrap looking for a better way to use gh

[Haskell-cafe] Opening a file that another process is writing

2006-07-20 Thread Maurício
Hi, I want to open for reading a log file that another process is locking for write. I know it's possible, since 'cat' and 'vim' can read that file (but not edit it, of course). How can I do that in Haskell? 'openFile' says "pe

[Haskell-cafe] Re: Small syntax question

2006-07-12 Thread Maurício
That's very good for us begginers. It would be great if this could be in the main Haskell site. Doaitse Swierstra wrote: Jeroen Fokker has made Haskell syntax diagrams, which are part of lecture notes for first-year students. Maybe they are helpful to others too, Doaitse http://abaris.zo

[Haskell-cafe] Small syntax question

2006-07-11 Thread Maurício
Hi, I can do this: (let a=3 in a) + (let b=4 in b) but not this: (a where a=3) + (b where b=3) Why? Thanks, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Re: Efficient way to edit a file

2006-06-19 Thread Maurício
n some situations, random access to the file would help a lot. Can I do that on Windows? Also: safety is not a concern. I can delete those big files as much as I need, they are only temporary data. Maurício ___ Haskell-Cafe mailing list Haskell-Ca

[Haskell-cafe] Efficient way to edit a file

2006-06-01 Thread Maurício
Hi, I need to edit big text files (5 to 500 Mb). But I just need to change one or two small lines, and save it. What is the best way to do that in Haskell, without creating copies of the whole files? Thanks, Maurício ___ Haskell-Cafe

[Haskell-cafe] Re: Unexpected results with simple IO

2006-02-20 Thread Maurício
th me (for instance, how to set the top arrow to repeat the last line, instead of moving the cursor one live above. I don't understand very well how those applications handle keyboard). Best, Maurício Emil Axelsson wrote: What version of GHC are you using? Your code works for me in rxvt

[Haskell-cafe] Re: Unexpected results with simple IO

2006-02-17 Thread Maurício
You're right... I was running the example in rxvt, in cygwin. Now I tried in Windows command shell and it works. Thanks, Maurício Cale Gibbard wrote: That doesn't happen for me at all, it works just fine. Maybe it's something wrong with your terminal? You could possibly t

[Haskell-cafe] Unexpected results with simple IO

2006-02-17 Thread Maurício
are printed after the program finishes, i.e., I have to use it blind. I'm afraid I misunderstand something important about lazyness or monads... What am I doing wrong? Thanks, Maurício module Main where import Random main = do r_gen <- getStdGen --random generator let r_l

[Haskell-cafe] Layout processing

2006-02-15 Thread Maurício
sefull to understand better how layout works. Thanks, Maurício ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

[Haskell-cafe] Small syntax question

2006-02-13 Thread Maurício
Hi, This is valid code: module Main where main = do let a = 3 return () Why isn't this one? module Main where main = do { let a = 3; return (); }; Thanks for your help, Maurício ___ Haskell-Cafe ma

[Haskell-cafe] Re: Haskell code for this example of flow control

2006-02-03 Thread Maurício
Kurt Hutchinson wrote: On 2/2/06, Maurício <[EMAIL PROTECTED]> wrote: I understand those examples, but I really would like to know how to do that with monads. I would like to ask the same question, but now with this code: double a = 1000; double b = 0; while (a != b) { a /= 2;

[Haskell-cafe] Re: Haskell code for this example of flow control

2006-02-02 Thread Maurício
es, but I really would like to know how to do that with monads. I would like to ask the same question, but now with this code: double a = 1000; double b = 0; while (a != b) { a /= 2; cout << a; // Prints a cin << b; // User gives a number, stored

[Haskell-cafe] Haskell code for this example of flow control

2006-02-01 Thread Maurício
Hi, I would like to know what options I have in Haskell to do something similar to this C++ code: double a = 1000; while (a>1) a/=2; I'm able to do that with lists, but I would like to know how to do that with monads and variables with state. Thanks,

[Haskell-cafe] Re: Can I use Haskell for web programming

2006-01-23 Thread Maurício
I think it would be interesting to ask some professional site to install hsp, before I go to the cgi solution. If I want to do that, what should I ask them to install to get a full working environment, with access to SQL and other stuff? Maurício Niklas Broberg wrote: hsp can be run in

[Haskell-cafe] Re: Can I use Haskell for web programming

2006-01-21 Thread Maurício
Interesting. It's hosted on Haskell site. Do you think I would be able to do what you have done in a professional hosting service computer? Best, Maurício Neil Mitchell wrote: Hi, Can I use Haskell to do what people do with, say, PHP? I wrote Hoogle (http://haskell.org/h

[Haskell-cafe] Re: Can I use Haskell for web programming

2006-01-21 Thread Maurício
They both look cool. Do you think I'll be able to find someone to host professional sites using those libraries? [], Maurício Sebastian Sylvan wrote: On 1/21/06, Maurício <[EMAIL PROTECTED]> wrote: Hi, Can I use Haskell to do what people do with, say, PHP? More

[Haskell-cafe] Can I use Haskell for web programming

2006-01-21 Thread Maurício
x27;t insert code in the middle of xhtml pages. If I have to generate everything from Haskell code, I would probably like it. Also, CGI can be a choice). But I need reasonable efficiency and to be able to find someone to host my site. What solutions do you suggest me?

[Haskell-cafe] Re: Begginer question

2005-01-06 Thread Maurício
Jules Bean wrote: (...) Why Haskell converts "4" to Complex but not a Float? The answer lies available to you in ghci: Prelude> :t 4 4 :: forall t. (Num t) => t The type of for is 'any type in the Num class'. So '4' stands for the Integer four as well as the Float four and the Double four and