. 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ício
[1]: http
Besides the usual Storable instantiated Haskell version of struct a,
(named C'a), now you also get the following:
p'a'b :: Ptr C'a - Ptr CInt
p'a'e'c :: Ptr C'a - Ptr CChar
p'a'e'd :: Ptr C'a - Ptr CFloat
p'a'f :: Ptr C'a - Ptr (Ptr C'a)
Hope it's useful to you.
Best,
Maurício
from that link, unpack and do 'cabal install' inside the
new directory.
Best,
Maurício
2011/7/8, Claude Heiland-Allen cla...@goto10.org:
Hi,
On 05/07/11 10:19, Christopher Done wrote:
[snip]
/usr/bin/ld:
/home/chris/.cabal/lib/bindings-posix-1.2.2/ghc-6.12.3/libHSbindings-posix-1.2.2
,
Maurício
2010/10/7, bieniusa bieni...@informatik.uni-freiburg.de:
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),
context
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
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 regards,
Daniel
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
___
Haskell-Cafe mailing list
Haskell-Cafe
,
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
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
___
Haskell-Cafe mailing list
Haskell-Cafe
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
___
Haskell-Cafe
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 appeared)?
Are there propositions
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
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
after your thoughts.
Thanks,
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
:
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
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 be solved on a per
library base.
Thanks,
Maurício
,
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
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
me
learning this really cool language.
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
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 ghci).
Best,
Maurício
an
experimental one)?
Thanks,
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
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 permission denied.
Thanks,
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
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
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-Cafe@haskell.org
http://www.haskell.org/mailman
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
(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 in Cygwin
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 try playing
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 mailing
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;
cout
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 in b
};
Best,
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
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?
Thanks,
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 and more
I have
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/hoogle
Hi,
I'm trying to do this:
let f n = mod (n**5) 12
but I see that I can't because ** only operates on floats. Is there an
equivalent operator that works on integers? How should I do that?
Thanks,
Maurício
___
Haskell-Cafe mailing list
use Haskell with mono?
[...],
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Hi,
Have you guys used any Corba library for Haskell? Which one would you
recommend (if there are more than one)?
Thanks,
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
platform please ask on the gtk2hs mailing list and we'll see what we can do.
I did read that FAQ, but it says that I should build with:
$ ./configure --disable-gnome --disable-mozilla
Doesn't that means that the mozilla interface should be disabled?
Maurício
build on my 64Mb computer. What else can I use? How does that work, can
I handle HTML events with Haskell code?
Thanks,
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Ketil Malde wrote:
Maurício [EMAIL PROTECTED] writes:
(...)
Couldn't match `Float' against `Complex Float'
Expected type: Float
Inferred type: Complex Float
In the second argument of `(+)', namely `sqr_delta'
In the definition of `x1': x1 = (b + sqr_delta)
The error
'
In the definition of `x1': x1 = (b + sqr_delta)
***
Can you help me finding what is wrong? Shouldn't b be converted to
Complex Float and be summed to sqr_delta?
Thanks for your help,
Maurício
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
44 matches
Mail list logo