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
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.
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)
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
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
___
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
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
,
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
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
.
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
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
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
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
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
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
://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
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
it.
Best,
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
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
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
experimental one)?
Thanks,
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
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
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
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
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
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
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
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
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
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
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
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
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;
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
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,
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
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
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
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?
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
40 matches
Mail list logo