flux changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 4.01.0 http://bit.ly/1851A3R | http://www.ocaml.org | Public logs at http://tunes.org/~nef/logs/ocaml/
brainacid has joined #ocaml
<brainacid> im back
<brainacid> i was wondering if anyone could help me with semantics real quick
<brainacid> you see this code flowed out of me and i dont understand why it work
<brainacid> i appreciate the help
csakatoku has joined #ocaml
Drup has quit [Quit: Leaving.]
talzeus has joined #ocaml
SpindleApparatus has joined #ocaml
shinnya has quit [Ping timeout: 245 seconds]
brainacid has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Po-ta-to, boil em, mash em, stick em in a stew.]
nisstyre has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
Simn has quit [Quit: Leaving]
csakatoku has quit [Ping timeout: 240 seconds]
nikki93 has quit [Remote host closed the connection]
csakatoku has joined #ocaml
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest88180
talzeus has quit [Ping timeout: 245 seconds]
nikki93 has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
madroach has quit [Ping timeout: 264 seconds]
serge has joined #ocaml
madroach has joined #ocaml
talzeus has joined #ocaml
arquebus has joined #ocaml
fayden has quit [Quit: Bye]
fayden has joined #ocaml
chrisdotcode has joined #ocaml
arquebus has quit [Quit: Konversation terminated!]
ygrek has joined #ocaml
Guest83275 has quit [Remote host closed the connection]
ollehar has joined #ocaml
<jle`> no need to ask to ask
<jle`> :)
nikki93 has quit [Remote host closed the connection]
nisstyre has quit [Ping timeout: 245 seconds]
nikki93 has joined #ocaml
asmanur has quit [Ping timeout: 245 seconds]
ygrek has quit [Ping timeout: 248 seconds]
asmanur has joined #ocaml
yezariaely has joined #ocaml
zRecursive has joined #ocaml
Guest88180 has quit [Remote host closed the connection]
yacks has quit [Ping timeout: 264 seconds]
ollehar has quit [Ping timeout: 245 seconds]
yacks has joined #ocaml
yacks has quit [Ping timeout: 264 seconds]
kay_ has joined #ocaml
nisstyre has joined #ocaml
ygrek has joined #ocaml
nikki93 has quit [Remote host closed the connection]
ggole has joined #ocaml
ggole_ has joined #ocaml
ggole has quit [Ping timeout: 245 seconds]
nikki93 has joined #ocaml
weie_ has joined #ocaml
weie has quit [Ping timeout: 240 seconds]
<adrien> morning
<ggole_> o/
ggole_ is now known as ggole
Yoric has joined #ocaml
mchqwerty has joined #ocaml
ygrek has quit [Ping timeout: 256 seconds]
cesar_ has joined #ocaml
cesar_ is now known as Guest76617
Guest76617 has quit [Remote host closed the connection]
Neros has quit [Read error: Operation timed out]
gour has joined #ocaml
mrpantoufle has quit [Ping timeout: 245 seconds]
Yoric has quit [Ping timeout: 264 seconds]
ttamttam has joined #ocaml
yacks has joined #ocaml
zRecursive has left #ocaml []
zpe has joined #ocaml
Neros has joined #ocaml
nikki93 has quit [Remote host closed the connection]
csakatok_ has joined #ocaml
q66 has joined #ocaml
ygrek has joined #ocaml
csakatoku has quit [Ping timeout: 256 seconds]
yacks has quit [Ping timeout: 246 seconds]
serge has quit [Remote host closed the connection]
serge has joined #ocaml
ggole has quit [Ping timeout: 264 seconds]
yezariaely1 has joined #ocaml
ggole has joined #ocaml
zpe has quit [Remote host closed the connection]
toolslive has joined #ocaml
manizzle has joined #ocaml
thomasga has joined #ocaml
Snark has joined #ocaml
Simn has joined #ocaml
anemator has joined #ocaml
UncleVasya has joined #ocaml
anemator has quit [Read error: Connection reset by peer]
AltGr has joined #ocaml
<toolslive> I have been fiddling around with the 'deriving' lib & syntax extension, but I would like to register my own 'class'. Anybody any ideas?
Neros has quit [Ping timeout: 245 seconds]
zpe has joined #ocaml
Neros has joined #ocaml
<ygrek> follow the source of the provided "class"es
djcoin_ has joined #ocaml
Neros has quit [Ping timeout: 245 seconds]
snearch has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
wolfnn has joined #ocaml
yacks has joined #ocaml
snearch has quit [Quit: Verlassend]
<toolslive> yes. but that means I have to change the library (i have to have a hook to register it)
<toolslive> and the library provides no such thing as far as I can see.
<ygrek> toolslive, are you sure? AFAIR one just does deriving(MyModule) and that's it
Kakadu has joined #ocaml
<toolslive> actually, I'm not sure where my version comes from (I just installed it via opam)
mfp has joined #ocaml
gasche has quit [Ping timeout: 252 seconds]
brainacid has joined #ocaml
<brainacid> Good Morning
<companion_cube> hello
<brainacid> companion_cube, Hi
<toolslive> module Bla = struct end
<toolslive> deriving: Bla is not a known `class'
<toolslive> when I use it as deriving(Bla)
<Kakadu> toolslive: does deriving supports custom `type classes`?
<toolslive> well, that's more or less my question too. If it does not, it's only useful for printing with Show.
ttamttam has quit [Ping timeout: 245 seconds]
<serge> Kakaku, what's the intent with deriving & `type classes`? Serializing?
ttamttam has joined #ocaml
<toolslive> of course.
<Kakadu> and `scrap my boilerplate`
<toolslive> to inject my own serialization mechanism.
<toolslive> exactly.
yezariaely1 has quit [Quit: Leaving.]
yezariaely1 has joined #ocaml
yezariaely is now known as Guest38556
brainacid has left #ocaml []
yezariaely1 has quit [Client Quit]
yezariaely has joined #ocaml
gasche has joined #ocaml
malo has joined #ocaml
mort___ has joined #ocaml
csakatok_ has quit [Remote host closed the connection]
ollehar has joined #ocaml
darkf has quit [Quit: Leaving]
ollehar has quit [Ping timeout: 268 seconds]
milosn has quit [Ping timeout: 256 seconds]
UncleVasya has quit [Remote host closed the connection]
Drup has joined #ocaml
milosn has joined #ocaml
_andre has joined #ocaml
Neros has joined #ocaml
Neros has quit [Ping timeout: 245 seconds]
csakatoku has joined #ocaml
mort___ has quit [Ping timeout: 248 seconds]
talzeus has quit [Remote host closed the connection]
fryguybob has joined #ocaml
Neros has joined #ocaml
talzeus has joined #ocaml
talzeus has quit [Ping timeout: 240 seconds]
<ygrek> indeed, I was wrong, one has to register it
<ygrek> it is exactly what all "standard" classes do at the end
yacks has quit [Ping timeout: 240 seconds]
yacks has joined #ocaml
q66_ has joined #ocaml
q66 has quit [Disconnected by services]
q66_ is now known as q66
<hnrgrgr> toolslive: deriving support custom class.
<hnrgrgr> unfortunatly, it isn't documented.
ygrek has quit [Ping timeout: 245 seconds]
<toolslive> ah. and how do I do it ?
csakatoku has quit [Remote host closed the connection]
quelu has joined #ocaml
tristero has joined #ocaml
UncleVasya has joined #ocaml
<kerneis> hnrgrgr comes and goes
amirmc has joined #ocaml
serge has quit [Remote host closed the connection]
yacks has quit [Quit: Leaving]
SpindleApparatus has quit [Ping timeout: 245 seconds]
amirmc has quit [Quit: Leaving.]
ollehar has joined #ocaml
serge has joined #ocaml
ollehar has quit [Ping timeout: 241 seconds]
talzeus has joined #ocaml
talzeus_ has joined #ocaml
talzeus has quit [Ping timeout: 246 seconds]
ttamttam1 has joined #ocaml
ttamttam2 has joined #ocaml
ttamttam has quit [Ping timeout: 245 seconds]
ttamttam1 has quit [Ping timeout: 264 seconds]
Kakadu has quit [Read error: Connection reset by peer]
Kakadu_ has joined #ocaml
<yezariaely> anyone has experiences with installing opam on solaris? The z modifier for tar doesn't exist here and thus 'make' for opam crashes. (because it untars some file)
Yoric has joined #ocaml
Neros has quit [Ping timeout: 245 seconds]
ygrek has joined #ocaml
saml has joined #ocaml
talzeus has joined #ocaml
talzeus_ has quit [Read error: Connection reset by peer]
<thomasga> yezariaely: what's the output of uname -s on Solaris ? could you open an issue on Github to describe what works/doesn't work with solaris when you are using opam ? that's a very interesting feedback for us (as we don't use solaris at all)
Neros has joined #ocaml
ontologiae has joined #ocaml
Neros has quit [Ping timeout: 245 seconds]
cesar_ has joined #ocaml
shinnya has joined #ocaml
mort___ has joined #ocaml
cesar_ is now known as Guest76736
nikki93 has joined #ocaml
Kakadu_ has quit []
Kakadu_ has joined #ocaml
mcclurmc has joined #ocaml
Guest76736 has quit [Remote host closed the connection]
nikki93 has quit [Ping timeout: 245 seconds]
travisbrady has joined #ocaml
travisbrady has quit [Client Quit]
travisbrady has joined #ocaml
Neros has joined #ocaml
ollehar has joined #ocaml
letoh_ has joined #ocaml
ollehar has quit [Ping timeout: 248 seconds]
letoh has quit [Ping timeout: 256 seconds]
<hnrgrgr> toolslive: have a look into js_of_ocaml/lib/syntax/pa_deriving_Json.ml or deriving/syntax/classes/default_class.ml for a simple one.
<hnrgrgr> Basically, a class is a module dynloaded in camlp4
weie has joined #ocaml
<toolslive> ok. thx. I think I can manage it from there ;)
ollehar has joined #ocaml
<hnrgrgr> these modules are defined by subclassing a virtual class.
weie_ has quit [Ping timeout: 240 seconds]
Kakadu_ has quit [Ping timeout: 264 seconds]
Drup has quit [Ping timeout: 264 seconds]
Drup has joined #ocaml
mchqwerty has quit [Ping timeout: 245 seconds]
cesar_ has joined #ocaml
cesar_ is now known as Guest44692
Kakadu_ has joined #ocaml
letoh_ is now known as letoh
ttamttam2 has quit [Quit: ttamttam2]
UncleVasya has quit [Read error: Connection reset by peer]
UncleVasya has joined #ocaml
mort___ has quit [Quit: Leaving.]
Simn is now known as Simn|gone
thomasga has quit [Quit: Leaving.]
yezariaely has quit [Quit: Leaving.]
Yoric has quit [Ping timeout: 264 seconds]
djcoin_ has quit [Quit: WeeChat 0.4.1]
talzeus has quit [Remote host closed the connection]
AltGr has quit [Quit: Konversation terminated!]
ontologiae has quit [Ping timeout: 240 seconds]
nikki93 has joined #ocaml
nikki93_ has joined #ocaml
nikki93 has quit [Read error: Connection reset by peer]
Guest44692 has quit [Remote host closed the connection]
zpe has quit [Remote host closed the connection]
Drup has quit [Ping timeout: 245 seconds]
nikki93_ has quit [Remote host closed the connection]
serge has quit [Remote host closed the connection]
Kakadu_ has quit []
EzeQL has joined #ocaml
EzeQL is now known as Guest48486
zpe has joined #ocaml
Drup has joined #ocaml
Simn|gone is now known as Simn
ygrek has quit [Ping timeout: 268 seconds]
zpe has quit [Ping timeout: 240 seconds]
johnelse_ has joined #ocaml
johnelse has quit [Ping timeout: 264 seconds]
johnelse_ has quit [Ping timeout: 245 seconds]
johnelse has joined #ocaml
Guest48486 has quit [Ping timeout: 248 seconds]
ygrek has joined #ocaml
nikki93 has joined #ocaml
Guest48486 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
csakatoku has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 240 seconds]
brainacid has joined #ocaml
<brainacid> Greetings and Salutations from a new fresh Ubuntu install
<pippijn> \o/
<brainacid> Anyone use PolyML?
* brainacid gets excited with pippijn
<brainacid> I love the sleek Gnome yet loud Pentium 4 and metal hard drives.
<brainacid> pippijn, What exactly is that? \0/
<brainacid> LOL
<pippijn> it's the top part of the following:
<pippijn> \o/
<pippijn> |
<pippijn> \
<pippijn> meh
<pippijn> \o/
<pippijn> |
<pippijn> / \
<brainacid> Cool!
<brainacid> I want to make a program that draws ascii with the mouse
<gour> brainacid: do you have fun and how is RWO?
<brainacid> The buckets of paint is the Character Map.
<pippijn> brainacid: that's not so easy
<brainacid> pippijn, Lol
<brainacid> Im just feeling the shine of intellect. I was very gloomy for years. I'm happy with Abilify. LMAO
<pippijn> you need to know some things about the terminal or use the ncurses terminal library
malo has quit [Quit: Leaving]
<brainacid> gour, Have actually moved to learning StandardML with Stephen Gilmore.
<pippijn> maybe that's good
tane has joined #ocaml
<brainacid> pippijn, Ocaml and StandardML is text only? Cant make GUI?
<gour> brainacid: hmm...there are some good open-source implementations, plenty of libs etc. available for ML?
<pippijn> you can make a gui with both
<brainacid> 10-4
<pippijn> ocaml has better libraries for gui programming than sml
<brainacid> Sweet
<brainacid> I shall learn both
<brainacid> Its going well
<pippijn> better stick with one at first
<pippijn> otherwise you get confused
<brainacid> I got all my exercises done from that book I was reading when I first came to the room.
<brainacid> Yes pippijn I like StandardML cuz the books are written nicely.
<pippijn> then learn sml
shinnya has quit [Ping timeout: 240 seconds]
<brainacid> So I got my fresh Ubuntu and PolyML toplevel running next to it and practicing and loving it.
<pippijn> you can always learn more languages later
milosn_ has joined #ocaml
<brainacid> Its simply because the book teaches me well. RWO and ThinkCSocaml are not my style of learning. But eventually when I get my experience I will be able to read them.
<gour> good luck ;)
milosn has quit [Ping timeout: 245 seconds]
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
<pippijn> SML is nice
<pippijn> I don't have much experience with it, but it seems SML is rather fragmented
<brainacid> I will buy that OReilly book tho...eventually. I climb communication Towers for money.
<pippijn> which is not nice
<pippijn> I might be wrong, but it seems to me that most SML software was written for a particular SML implementation and doesn't work (without modification) with others
<brainacid> Hopefully going to Ohio, Kansas and New Mexico in 3 weeks
ygrek has quit [Ping timeout: 245 seconds]
<brainacid> Highest I've been is 500 ft.
* pippijn checks
<pippijn> highest I've been is about 13800 ft
<pippijn> climbing, that is
<pippijn> airplanes go higher
<pippijn> but that was no communication tower :)
<pippijn> brainacid: what do you do when you climbed one?
<pippijn> what part of that makes you money?
csakatoku has quit [Ping timeout: 240 seconds]
<brainacid> Working at Heights really. The climb is the labor.
nisstyre has quit [Disconnected by services]
<brainacid> I mount FAA regulated lighting systems, change bulbs, build towers, destroy towers, install antennas, troubleshoot systems.
ollehar has quit [Quit: ollehar]
<brainacid> Run a crew, manage a company truck and manage idiotic dudes that take it light and party on the road.
<brainacid> Great money. Been doing it for 6 months and already making 70K/yr
yours_truly has joined #ocaml
<pippijn> that's good
<brainacid> Its up and down. Its a bidding-contractual style business. Like right now I havent worked for 3 weeks. Thats like 2.5K loss.
<pippijn> ah
<brainacid> But have savings...
<brainacid> So it avg 50K maybe
<pippijn> still good
<brainacid> I make more if I get safety certified.
Guest48486 has quit [Ping timeout: 248 seconds]
<brainacid> Hey need a gig or a new career. Let me know. We based in Harlem, GA.
<brainacid> Will even fly you out to a site.
<brainacid> Its not hard.
<pippijn> haha
<pippijn> I'd like to start a career in computer science
<brainacid> pippijn, Me too!!
<brainacid> And make MILLIONS!!!
<brainacid> We program Custom security software and then also maintain a contract for Network Defense and Penetration Pulse
<brainacid> Every so often we try to hack our own shit!!
<brainacid> el1t3!
zpe has joined #ocaml
<bernardofpc> Error: This expression has type int -> int list but an expression was expected of type 'a -> 'b Type int is not compatible with type int list
<bernardofpc> :/
<pippijn> bernardofpc: can you show the code?
<bernardofpc> Ok, I had a bug
<bernardofpc> but nevertheless, this is not a reasonable error message
zpe has quit [Ping timeout: 245 seconds]
manizzle has quit [Ping timeout: 264 seconds]
<pippijn> polyml looks nice
<gour> brainacid: do you have some concrete project in mind to make you learning s(oca)ml?
csakatoku has joined #ocaml
nikki93 has joined #ocaml
yacks has joined #ocaml
serge has joined #ocaml
zpe has joined #ocaml
<brainacid> gour, Sorry
<brainacid> gour, I got hooke on PS3
<brainacid> gour, Nope
serge has quit [Ping timeout: 240 seconds]
<gour> :-)
<gour> brainacid: btw, have you considered haskell?
Yoric has joined #ocaml
csakatoku has quit [Ping timeout: 240 seconds]
zpe has quit [Ping timeout: 264 seconds]
<brainacid> gour, I haven't heard of it.
<gour> brainacid: really? try http://haskell.org/
<brainacid> gour, sounds like ocaml
<brainacid> gour, Im very new to all this.
<tane> haskell's logo definitely looks better on a tshirt. major decisionpoint :)
<gour> brainacid: yep, although it's 'pure' language...there is also F# if you're into .NET/Mono platform, but for me OCaml has the right balance ;)
<gour> iow, it's not just the language itself, but implementation, libs, tools support, community etc.
<Drup> gour: haskell is probably harder to learn than ocaml, you know
* gour nods
<gour> but the step from haskell --> ocaml is sweeter :-)
<tane> indeed, learning FP in haskell is better as it enforces
<nicoo> tane: Comment on the new OCaml logo :D
<tane> and ocaml has such a big variety of things
<tane> oh, i'll have a look
manizzle has joined #ocaml
<tane> yes, they seem nice! :)
<toolslive> yes, once you respect side effects, you're allowed to use them ;)
<toolslive> so haskell is more suited towards beginners.
manizzle has quit [Ping timeout: 248 seconds]
manizzle has joined #ocaml
<gour> brainacid: check http://learnyouahaskell.com/
<tane> btw, is there a good guide to ocaml build/make tools?
<gour> tane: count me here as well :-)
<brainacid> gour, Im trying to learn SML now. I dont want to overwhelm myself.
<tane> haha :)
<brainacid> gour, This guide is meant for people who have programmed already
<brainacid> gour, Says it right there on the website
<gour> brainacid: didn't you say you were learning perl?
mcclurmc has quit [Quit: Leaving.]
zpe has joined #ocaml
nikki93 has quit [Remote host closed the connection]
<brainacid> gour, Yes when I was 14.
Anarchos has joined #ocaml
<brainacid> gour, I was remembering the golden days. I never learned. But I did get to modify and script that convertedt text to html
zpe has quit [Ping timeout: 240 seconds]
ggole has quit []
<gour> brainacid: don't know about your taste, but this is interesting option for learning python for those new with programming: http://learnpythonthehardway.org/
<gour> don't throw anything at me ;)
<brainacid> gour, I have seen that briefly. But I like this functional paradigm
<brainacid> gour, I appreciate your depth
mrpantoufle has joined #ocaml
nikki93 has joined #ocaml
<brainacid> gour, Im reading that book. Do you code in Haskell?
Snark has quit [Quit: leaving]
<gour> brainacid: i was playing with haskell for quite some time few years ago, but there is simply too much talk about monads...that's why i consider ocaml nicer and more pragmatic for a real world projects
cthuluh has quit [Ping timeout: 245 seconds]
cthuluh has joined #ocaml
<levi> I would say it's mostly a matter of taste as to whether you'd prefer Haskell's approach to things or OCaml's approach to things.
<levi> I probably know Haskell a little better than OCaml, though I am far from expert in either. They are both pretty nice languages, and more similar to each other than either of them are to something more 'mainstream' like Java or Python.
travisbrady has quit [Quit: travisbrady]
<brainacid> interesting
nikki93 has quit [Remote host closed the connection]
travisbrady has joined #ocaml
<brainacid> gour, I see. Maybe it might work in my fantasy world project. Lol
mcclurmc has joined #ocaml
toolslive has quit [Quit: Leaving]
darkf has joined #ocaml
mcclurmc1 has joined #ocaml
mcclurmc1 is now known as snoosnoo
snoosnoo has quit [Remote host closed the connection]
mcclurmc has quit [Ping timeout: 264 seconds]
travisbrady has quit [Quit: travisbrady]
mcclurmc has joined #ocaml
Anarchos has quit [Quit: Vision[0.9.7-H-280704]: i've been blurred!]
nikki93 has joined #ocaml
mcclurmc1 has joined #ocaml
mcclurmc has quit [Ping timeout: 264 seconds]
brainacid has left #ocaml []
nikki93 has quit [Remote host closed the connection]
djcoin has joined #ocaml
travisbrady has joined #ocaml
mcclurmc1 has quit [Quit: Leaving.]
brainacid has joined #ocaml
<brainacid> gour!
<brainacid> gour, RW Haskell by Oreilly. Have u read it?
_andre has quit [Quit: leaving]
mcclurmc has joined #ocaml
brainacid has quit [Quit: Leaving]
yacks has quit [Ping timeout: 246 seconds]
<gour> brendan: yep, i've it
<gour> brendan: oops. wrong completion :-(
nikki93 has joined #ocaml
mort___ has joined #ocaml
steshaw has quit [Ping timeout: 256 seconds]
mrpantoufle has quit [Ping timeout: 240 seconds]
mrpantoufle has joined #ocaml
Yoric has quit [Ping timeout: 264 seconds]
gour has quit [Quit: WeeChat 0.4.1]
nikki93 has quit [Remote host closed the connection]
travisbrady has quit [Read error: Connection reset by peer]
olliefr has joined #ocaml
<jle`> gour: curious as to why you consider monads to be unpragmatic
travisbrady has joined #ocaml
Yoric has joined #ocaml
djcoin has quit [Quit: WeeChat 0.4.1]
travisbrady has quit [Ping timeout: 264 seconds]
iZsh` has joined #ocaml
iZsh has quit [Ping timeout: 245 seconds]
TDJACR has quit [Ping timeout: 245 seconds]
manizzle has quit [Ping timeout: 245 seconds]
stomp has quit [Ping timeout: 245 seconds]
stomp has joined #ocaml
TDJACR has joined #ocaml
manizzle has joined #ocaml
olliefr has quit [Ping timeout: 260 seconds]
travisbrady has joined #ocaml
emmanuelux has joined #ocaml
travisbrady has quit [Quit: travisbrady]
yours_truly has quit [Quit: Leaving]
nisstyre has joined #ocaml
ontologiae has joined #ocaml
Yoric has quit [Ping timeout: 264 seconds]
cthuluh has quit [Ping timeout: 264 seconds]
mort___ has quit [Quit: Leaving.]
wolfnn has quit [Ping timeout: 245 seconds]
mort___ has joined #ocaml
q66 has quit [Quit: Leaving]
Simn has quit [Read error: Connection reset by peer]
UncleVasya has quit [Remote host closed the connection]
cthuluh has joined #ocaml
mort___ has quit [Quit: Leaving.]
shinnya has joined #ocaml
ollehar has joined #ocaml
tane has quit [Quit: Verlassend]
Drup has quit [Quit: Leaving.]
ontologiae has quit [Ping timeout: 245 seconds]
ng_ has joined #ocaml
nikki93 has joined #ocaml
nikki93 has quit [Remote host closed the connection]
<ng_> how can i allocate to variable an "if" and an expression with a function that calls another?
<ng_> i tried let variable =
<ng_> but gives error
<ng_> if ... then ... else if ...then ...else ... and , how i put this on a variable without error?
<bernardofpc> what are you trying to do ?
<bernardofpc> and, also, you can paste some code (for example, like http://pastie.org/8382654)
pkrnj has joined #ocaml
<ng_> bernardofpc, http://pastebin.com/aYfzS7jX just this hash table,
SpindleApparatus has joined #ocaml
<ng_> but when I want to put this let ret=
<ng_> gives error
<bernardofpc> strange
<bernardofpc> I guess you should define f x b before "ret"
<ng_> "Error: Unbound value ret"
<bernardofpc> let f x b = ... in let ret = ... in Hashtbl.add table s ret
<ng_> bernardofpc, apparently solved, but in this this line" Hashtbl.add table s ret; ret in f;;" appears this error:
<ng_> This expression has type 'a -> 'b -> Big_int.big_int
<ng_> but an expression was expected of type Big_int.big_int
<ng_> I do not understand . the hashadd should keep the values ​​in the table already as big
<bernardofpc> what does "ret in f" will do ?
tianon has quit [Quit: "I'm a very important man. I've got a tower!"]
ollehar has quit [Ping timeout: 240 seconds]
ollehar has joined #ocaml
tianon has joined #ocaml
kay_ has quit [Remote host closed the connection]
kay has joined #ocaml
kay is now known as Guest69717
Guest69717 has quit [Ping timeout: 248 seconds]
talzeus has joined #ocaml
milosn_ has quit [Ping timeout: 246 seconds]
ng_ has quit [Quit: Leaving]
milosn has joined #ocaml
talzeus has quit [Remote host closed the connection]
talzeus has joined #ocaml
talzeus has quit [Ping timeout: 240 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
talzeus has joined #ocaml
talzeus_ has joined #ocaml
mcclurmc has quit [Quit: Leaving.]