klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wolfnn has quit [Ping timeout: 260 seconds]
talzeus_ has joined #ocaml
nikki93 has joined #ocaml
def-lkb has quit [Read error: Operation timed out]
def-lkb has joined #ocaml
olibjerd has joined #ocaml
Simn has quit [Quit: Leaving]
buddyholly has joined #ocaml
mcclurmc has joined #ocaml
ygrek has joined #ocaml
Drup has quit [Quit: Leaving.]
himh has joined #ocaml
himh has left #ocaml []
<zamN>
wait so if I edit a record via { blah with field1 = value } that won't actually update the record but just return a new one with the fields updated?
cesar_ has joined #ocaml
cesar_ is now known as Guest24968
chrisdotcode has joined #ocaml
himh has joined #ocaml
Guest24968 has quit [Ping timeout: 240 seconds]
himh has left #ocaml []
himh has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest91504
ollehar has joined #ocaml
ollehar1 has quit [Ping timeout: 246 seconds]
srcerer_ has joined #ocaml
shinnya has quit [Ping timeout: 246 seconds]
srcerer has quit [Ping timeout: 264 seconds]
osa1 has joined #ocaml
<zamN>
anyone around :x
<himh>
seems pretty dead
<zamN>
are you an ocaml pro? ;x
<himh>
nope
<himh>
sorry, just interested in the lang
osa1 has quit [Client Quit]
himh has left #ocaml []
csakatok_ has joined #ocaml
csakatoku has quit [Ping timeout: 272 seconds]
ollehar has quit [Ping timeout: 246 seconds]
strobegen has joined #ocaml
platypine has quit [Ping timeout: 240 seconds]
Tinybird has joined #ocaml
Tinybird has left #ocaml []
mcclurmc has quit [Remote host closed the connection]
Guest91504 has quit [Remote host closed the connection]
csakatok_ has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Ping timeout: 246 seconds]
Tinybird has joined #ocaml
Tinybird has left #ocaml []
srcerer has joined #ocaml
srcerer_ has quit [Ping timeout: 264 seconds]
csakatoku has joined #ocaml
ollehar has joined #ocaml
yacks has quit [Quit: Leaving]
morolin has joined #ocaml
<orbitz>
zamN: you can only edit mutable fields in records
rgrinberg has quit [Ping timeout: 260 seconds]
nikki93 has quit [Remote host closed the connection]
rgrinberg has joined #ocaml
nikki93 has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
<zamN>
orbitz: yeah, i just ended up resetting my record every time
<zamN>
that worked ifne
<zamN>
i assume mutable field = record?
<orbitz>
what?
csakatoku has quit [Ping timeout: 245 seconds]
<zamN>
er, i meant ref
<zamN>
like the !x, := stuff
<orbitz>
what about it?
csakatoku has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
olibjerd has quit [Ping timeout: 246 seconds]
<zamN>
i dont know what amutable field is in ocaml
<zamN>
is what im sayin -_-
gour has joined #ocaml
olibjerd has joined #ocaml
olibjerd has quit [Ping timeout: 244 seconds]
jle` has joined #ocaml
<jle`>
is there such thing as pattern matching on characters in a stirng?
<jle`>
like if i wanted to do something with the first letter, or something else if there are no letters
<jle`>
or do i have to use get, sub, etc.
mort___ has quit [Quit: Leaving.]
nikki93 has quit [Remote host closed the connection]
ttamttam has joined #ocaml
<ollehar>
zamN: a field in a record can be marked as mutable, like {mutable x : int}
<maurer>
orbitz: Hm, I suspected the map because of ocaml's profiling output, but after inserting some manual checks around duration of the operations, it doesn't seem to be the issue
<maurer>
orbitz: I can't really find anything else on ocaml's profile of the program though :/
ollehar has joined #ocaml
wolfnn has joined #ocaml
Kakadu has quit []
Kakadu has joined #ocaml
zpe has joined #ocaml
ulfdoz has quit [Ping timeout: 272 seconds]
ttamttam has joined #ocaml
Neros has quit [Ping timeout: 268 seconds]
ollehar has quit [Ping timeout: 248 seconds]
Simn has joined #ocaml
rand000 has joined #ocaml
csakatok_ has joined #ocaml
csakatoku has quit [Ping timeout: 240 seconds]
Picolino has joined #ocaml
Kakadu_ has joined #ocaml
ttamttam has quit [Ping timeout: 244 seconds]
platypine has joined #ocaml
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
platypine has quit [Ping timeout: 240 seconds]
tianon has joined #ocaml
eikke has joined #ocaml
Neros has joined #ocaml
yezariaely has quit [Quit: Leaving.]
yezariaely has joined #ocaml
mfp has joined #ocaml
Picolino is now known as julien_t
ttamttam has joined #ocaml
nikki93 has quit [Remote host closed the connection]
Neros has quit [Ping timeout: 245 seconds]
ttamttam has quit [Ping timeout: 244 seconds]
ollehar has joined #ocaml
AltGr has joined #ocaml
_andre has joined #ocaml
tianon has quit [Ping timeout: 244 seconds]
csakatok_ has quit [Remote host closed the connection]
csakatoku has joined #ocaml
csakatoku has quit [Ping timeout: 240 seconds]
csakatoku has joined #ocaml
jonludlam has joined #ocaml
csakatoku has quit [Remote host closed the connection]
csakatoku has joined #ocaml
tianon has joined #ocaml
csakatoku has quit [Ping timeout: 244 seconds]
Drup has joined #ocaml
ttamttam has joined #ocaml
ttamttam has quit [Client Quit]
Drup has quit [Read error: Operation timed out]
ttamttam has joined #ocaml
testcocoon has quit [Quit: Coyote finally caught me]
ttamttam has quit [Client Quit]
testcocoon has joined #ocaml
yezariaely has quit [Ping timeout: 244 seconds]
ttamttam has joined #ocaml
ollehar has quit [Ping timeout: 246 seconds]
mchqwerty has joined #ocaml
ttamttam has quit [Quit: ttamttam]
ttamttam has joined #ocaml
ontologiae has joined #ocaml
nikki93 has joined #ocaml
nikki93 has quit [Ping timeout: 265 seconds]
Neros has joined #ocaml
ttamttam has quit [Quit: ttamttam]
ttamttam has joined #ocaml
ollehar has joined #ocaml
eikke has quit [Ping timeout: 272 seconds]
dsheets_ has quit [Ping timeout: 245 seconds]
<rand000>
hey - does anyone know if it's possible to use an already bound value as part of a stream [parser] pattern
<rand000>
?
<rand000>
fx if I wan't to match a char, the pattern can be ''c'
<rand000>
but if I want to exchange ''c' with a field from a record... is that possible?
<rand000>
'(record.field) doesn't work ..
wolfnn has quit [Ping timeout: 246 seconds]
<rand000>
I guess it's not possible as the pattern-matcher would try to bind the value to the stream-element...
<rand000>
fx the pattern 'x would bind x to stream-element
ttamttam has quit [Quit: ttamttam]
yezariaely has joined #ocaml
ttamttam has joined #ocaml
<ygrek>
record.field is an expression
<ygrek>
but stream parser expects identifiers to bind to
<rand000>
yes
ttamttam has quit [Client Quit]
<rand000>
but if you have a ''c' in a pattern, that is an expression too ..?
<rand000>
well a value more exactly - in a functional language, shouldn't most things be able to be seen as values..?
<rand000>
expressions
<rand000>
* or
<ygrek>
that is a constant
<ygrek>
stream parser extension can handle constant
<ygrek>
it matches over it
<ygrek>
but it is not designed to work with expressions
<ygrek>
placed where it expectes either constants or identifiers
<ygrek>
it likely mirrors the ocaml itself - one cannot write match 4 with 2+2 ->
dsheets_ has joined #ocaml
<rand000>
ahh I see
ulfdoz has joined #ocaml
BitPuffin has joined #ocaml
<rand000>
thx
<rand000>
I think I'll write a seperate function hat matches the pattern with the value of choice
sepp2k has joined #ocaml
rand000 has quit [Ping timeout: 248 seconds]
rand000 has joined #ocaml
ygrek has quit [Ping timeout: 244 seconds]
clog has quit [^C]
clog has joined #ocaml
bacam_ is now known as bacam
yezariaely1 has quit [Ping timeout: 240 seconds]
breakds has joined #ocaml
zRecursive has joined #ocaml
skchrko has joined #ocaml
cantstanya has quit [Ping timeout: 240 seconds]
zRecursive has left #ocaml []
ulfdoz has quit [Ping timeout: 240 seconds]
yezariaely has joined #ocaml
Drup has joined #ocaml
ttamttam has joined #ocaml
zorun has quit [Ping timeout: 260 seconds]
zorun has joined #ocaml
nk0_ is now known as nk0
cantstanya has joined #ocaml
yacks has joined #ocaml
breakds has quit [Remote host closed the connection]
ollehar has quit [Ping timeout: 248 seconds]
Simn is now known as Simn|gone
zorun has quit [Quit: leaving]
talzeus has joined #ocaml
johnelse has quit [Quit: Lost terminal]
mcclurmc has joined #ocaml
johnelse has joined #ocaml
ygrek has joined #ocaml
julien_t has joined #ocaml
johnelse has left #ocaml []
johnelse has joined #ocaml
julien_t has quit [Ping timeout: 240 seconds]
julien_t has joined #ocaml
Neros has quit [Ping timeout: 245 seconds]
mcclurmc has quit [Remote host closed the connection]
robink has quit [Ping timeout: 245 seconds]
mcclurmc has joined #ocaml
stevej has quit [Ping timeout: 272 seconds]
Simn|gone is now known as Simn
Kakadu_ has quit [Ping timeout: 250 seconds]
talzeus has quit [Remote host closed the connection]
<whitequark>
ok, I'm pretty confident that after the patchset I'm writing, it will be possible to write OO-style LLVM bindings on top of existing ones which won't assert.
mch has joined #ocaml
<whitequark>
there's still some pretty significant problems with memory management :/
AdmWiggin is now known as tianon
Kakadu has quit [Ping timeout: 272 seconds]
mchqwerty has quit [Ping timeout: 248 seconds]
shinnya has quit [Ping timeout: 252 seconds]
Neros has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
Kakadu has joined #ocaml
yezariaely has quit [Ping timeout: 260 seconds]
mcclurmc_ has joined #ocaml
mcclurmc_ is now known as mcclurmc
avsm has joined #ocaml
rand000 has quit [Ping timeout: 265 seconds]
mcclurmc has quit [Remote host closed the connection]
gour has quit [Disconnected by services]
gour_ has joined #ocaml
cago has left #ocaml []
djcoin has quit [Quit: WeeChat 0.4.1]
olibjerd has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
mcclurmc has joined #ocaml
Qrntz has joined #ocaml
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
avsm has quit [Client Quit]
gour_ is now known as gour
madroach has quit [Quit: leaving]
baz_ has joined #ocaml
nicoo is now known as companion_cube
companion_cube has quit [Disconnected by services]
companion_square is now known as companion_cube
nicoo has joined #ocaml
ttamttam has quit [Quit: ttamttam]
frederc has joined #ocaml
frederc has left #ocaml []
strobegen has quit [Ping timeout: 240 seconds]
Drup has quit [Ping timeout: 260 seconds]
ygrek has quit [Ping timeout: 240 seconds]
strobegen has joined #ocaml
djcoin has joined #ocaml
cesar_ has joined #ocaml
cesar_ is now known as Guest98056
julien_t has quit [Ping timeout: 252 seconds]
wolfnn has joined #ocaml
Drup has joined #ocaml
eikke has quit [Ping timeout: 248 seconds]
Arsenik has quit [Read error: Connection reset by peer]
Arsenik has joined #ocaml
Guest98056 has quit [Remote host closed the connection]
mch has quit [Quit: Odcházím]
osa1 has joined #ocaml
skchrko has quit [Quit: Leaving]
jonludlam has quit [Remote host closed the connection]
ontologiae has quit [Ping timeout: 240 seconds]
Kakadu has quit []
stevej has joined #ocaml
eikke has joined #ocaml
skchrko has joined #ocaml
strobegen has quit [Ping timeout: 252 seconds]
nikki93 has joined #ocaml
djcoin has quit [Quit: WeeChat 0.4.1]
strobegen has joined #ocaml
nikki93 has quit [Read error: Connection reset by peer]
nikki93_ has joined #ocaml
strobegen has quit [Read error: Connection reset by peer]
strobegen has joined #ocaml
osa1 has quit [Ping timeout: 240 seconds]
ontologiae has joined #ocaml
nikki93_ has quit [Remote host closed the connection]
w0rm_x has joined #ocaml
w0rm_x has left #ocaml []
ontologiae has quit [Ping timeout: 252 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
mcclurmc has quit [Remote host closed the connection]
mcclurmc has joined #ocaml
zpe has quit [Ping timeout: 265 seconds]
Kakadu has joined #ocaml
sepp2k_ has quit [Quit: Konversation terminated!]
Kakadu has quit [Read error: Connection reset by peer]
Kakadu has joined #ocaml
avsm has joined #ocaml
dsheets_ has quit [Ping timeout: 240 seconds]
dsheets_ has joined #ocaml
zpe has joined #ocaml
gour has quit [Quit: WeeChat 0.4.1]
mcclurmc has quit [Remote host closed the connection]