<
ookk>
This expression is not a function, it cannot be applied
<
ookk>
and then the linenr ofc
<
pango>
looks more like a bug than a compiler problem
<
ookk>
yeah might be
<
pango>
probably a missing separator
ookk has left #ocaml []
mbishop has left #ocaml []
mrpingoo has quit ["Connection reset by pear"]
smimou has quit ["bli"]
test12 has joined #ocaml
horst has joined #ocaml
horst has left #ocaml []
test12 has quit ["Chatzilla 0.9.77 [Firefox 2.0.0.1/2006120418]"]
dark_light has joined #ocaml
shawn has quit ["This computer has gone to sleep"]
pstickne has quit ["Leaving"]
Submarine has quit [Remote closed the connection]
Submarine has joined #ocaml
mIRCantile has joined #ocaml
mIRCantile has left #ocaml []
Submarine has quit ["Leaving"]
shawn has joined #ocaml
fincher has left #ocaml []
sponge45 has quit ["zzzzzzzzzz"]
Smerdyakov has quit ["Leaving"]
pstickne has joined #ocaml
shawn has quit ["This computer has gone to sleep"]
shawn has joined #ocaml
dark_ has joined #ocaml
dark_light has quit [Read error: 113 (No route to host)]
pstickne has quit [Remote closed the connection]
pstickne has joined #ocaml
mIRCantile has joined #ocaml
mIRCantile has left #ocaml []
dark_ has quit ["Ex-Chat"]
shawn has quit ["This computer has gone to sleep"]
pstickne has quit ["Leaving"]
dark_light has joined #ocaml
buluca has joined #ocaml
brainly-green has quit [zelazny.freenode.net irc.freenode.net]
benny_ has quit [zelazny.freenode.net irc.freenode.net]
descender has quit [zelazny.freenode.net irc.freenode.net]
eradman_ has quit [zelazny.freenode.net irc.freenode.net]
Oatmeat|umn has quit [zelazny.freenode.net irc.freenode.net]
mellum has quit [zelazny.freenode.net irc.freenode.net]
mellum has joined #ocaml
benny has joined #ocaml
Oatmeat|umn has joined #ocaml
descender has joined #ocaml
eradman has joined #ocaml
Submarine has joined #ocaml
brainly-green has joined #ocaml
Submarine has quit [Remote closed the connection]
shawn has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
shawn has quit ["This computer has gone to sleep"]
ulfdoz has joined #ocaml
m3ga has joined #ocaml
m3ga has quit [Client Quit]
Debolaz has left #ocaml []
<
ulfdoz>
Is there a way, to get ocamllex case-insensitive?
brainly-green has quit [zelazny.freenode.net irc.freenode.net]
eradman has quit [zelazny.freenode.net irc.freenode.net]
brainly-green has joined #ocaml
eradman has joined #ocaml
<
pango>
I guess it only partially answers the question... it doesn't make the whole parser case insensitive...
shawn has joined #ocaml
ookk has joined #ocaml
slipstream-- has joined #ocaml
smimou has joined #ocaml
buluca has quit ["Leaving."]
slipstream has quit [Read error: 110 (Connection timed out)]
shawn has quit [Read error: 110 (Connection timed out)]
descender has quit ["Elegance has the disadvantage that hard work is needed to achieve it and a good education to appreciate it. - E. W. Dijkstra"]
descender has joined #ocaml
shawn has joined #ocaml
ikaros has quit [Read error: 110 (Connection timed out)]
ikaros has joined #ocaml
swater has joined #ocaml
brainly-green has quit [Read error: 110 (Connection timed out)]
piggybox has quit [Read error: 110 (Connection timed out)]
piggybox has joined #ocaml
Cope has joined #ocaml
swater has quit ["Quat"]
Smerdyakov has joined #ocaml
mrpingoo has joined #ocaml
Cope has quit [Read error: 110 (Connection timed out)]
swater has joined #ocaml
swater has quit ["Quat"]
swater has joined #ocaml
pango has quit [Remote closed the connection]
pango has joined #ocaml
eroyf has joined #ocaml
jlouis_ has joined #ocaml
jlouis has quit [Read error: 110 (Connection timed out)]
Oxylin has joined #ocaml
Oxylin has quit [Read error: 104 (Connection reset by peer)]
dark_light has quit [Read error: 104 (Connection reset by peer)]
ookk has left #ocaml []
pango has quit [Remote closed the connection]
pango has joined #ocaml
benny_ has joined #ocaml
swater has quit ["Quat"]
pstickne has joined #ocaml
benny has quit [Read error: 110 (Connection timed out)]
jlouis_ has quit [Connection timed out]
jlouis has joined #ocaml
Oxylin has joined #ocaml
bluestorm has quit ["Konversation terminated!"]
Oxylin has quit [Client Quit]
Oxylin has joined #ocaml
mrpingoo has quit ["Connection reset by pear"]
brainly-green has joined #ocaml
ookk has joined #ocaml
<
ookk>
is there anyway to do something like haskells [1..5] to get the list [1;2;3;4;5] in ocaml?
<
Smerdyakov>
Not out-of-the-box
<
Smerdyakov>
Obviously a function range : int -> int -> int would work, but I get the feeling that that wouldn't satisfy you.
<
Smerdyakov>
Er, range : int -> int -> int list
<
ookk>
well yes i could write it myself
<
ookk>
i just thought it hade to be in the core / standard library
<
jlouis>
I would have expected one of type (int -> 'a) -> int -> 'a list to be there
whatsup103 has quit ["Konversation terminated!"]
<
ookk>
is there a built in function for: a' option list -> a' list?
<
Smerdyakov>
First, I assume you mean 'a instead of a'.
<
Smerdyakov>
Second, that type doesn't uniquely determine behavior.
<
ookk>
i am new to ocaml
<
ookk>
what i want is something that removes None and maps Some a -> a
<
ookk>
[Some 1; None] -> [1]
<
Smerdyakov>
I'm not aware of any such in the standard library.
<
Smerdyakov>
(OCaml has no "built-in functions.")
<
ookk>
yeah i mean the standard library
<
Smerdyakov>
In Standard ML, List.mapPartial (fn x => x) is the answer. :)
<
ookk>
in haskell i would use Data.Maybe.mapMaybe
pango has quit [Remote closed the connection]
pango has joined #ocaml
Oxylin has quit [Client Quit]
danly_ has joined #ocaml