<d_bot>
<dj charlie> hey pretty sure there's a ppx out there that takes a recursive structure and it generates random variations of the structure for testing
<d_bot>
<dj charlie> what is it?
<d_bot>
<dj charlie> > ml with nice macros
<d_bot>
<dj charlie> rust?
<d_bot>
<dj charlie> lol
<companion_cube>
:-°
Jeanne-Kamikaze has quit [Ping timeout: 246 seconds]
<d_bot>
<theangryepicbanana> Nemerle ;)
raver has quit [Remote host closed the connection]
schlaftier has quit [Ping timeout: 268 seconds]
Tuplanolla has quit [Ping timeout: 240 seconds]
schlaftier has joined #ocaml
mxns has joined #ocaml
schlaftier has quit [Ping timeout: 256 seconds]
mxns has quit [Ping timeout: 272 seconds]
amiloradovsky has quit [Remote host closed the connection]
<d_bot>
<dj charlie> i'm cringing so hard right now
<d_bot>
<dj charlie> thanks
_whitelogger has joined #ocaml
madroach_ has joined #ocaml
mxns has joined #ocaml
madroach has quit [Ping timeout: 256 seconds]
narimiran_ has joined #ocaml
mxns has quit [Ping timeout: 264 seconds]
jbrown has quit [Ping timeout: 272 seconds]
jbrown has joined #ocaml
l1x has quit [Ping timeout: 260 seconds]
l1x has joined #ocaml
<d_bot>
<jaap> Would it be a good idea to have an annotation for externals that they are pure? This would allow the compiler to do optimizations like hoisting them out of loops. Or is there another way to achieve this?
osa1_ is now known as osa1
schlaftier has joined #ocaml
_whitelogger has joined #ocaml
cemerick has quit [Read error: Connection reset by peer]
adrianbrink has quit [Read error: Connection reset by peer]
SrPx has quit [Ping timeout: 268 seconds]
banjiewen_ has quit [Read error: Connection reset by peer]
banjiewen_ has joined #ocaml
cemerick has joined #ocaml
adrianbrink has joined #ocaml
SrPx has joined #ocaml
jlr has joined #ocaml
jlr has quit [Ping timeout: 260 seconds]
shawnw has joined #ocaml
tane has joined #ocaml
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
cantstanya has quit [Remote host closed the connection]
bartholin has joined #ocaml
cantstanya has joined #ocaml
adrianbrink has quit [Ping timeout: 268 seconds]
cemerick has quit [Ping timeout: 260 seconds]
SrPx has quit [Read error: Connection reset by peer]
<ldbeth>
this creates a 0.1s lag compared to the old solution calling C tgetstr
<Drup>
I would be very surprised if that function was the only reason
<Drup>
but otherwise: you can use a buffer, it'll be faster
Haudegen has joined #ocaml
<ldbeth>
I see, thank you
<Drup>
(and make your `get` function return a sum type representing the styling, instead of making 6 tests)
<Drup>
(iirc, the stylings are mutually exclusive anyway)
nullcone has quit [Quit: Connection closed for inactivity]
alexo79 has joined #ocaml
alexo79 has quit [Remote host closed the connection]
dborisog has joined #ocaml
ldbeth has quit [Ping timeout: 256 seconds]
neiluj has joined #ocaml
neiluj has joined #ocaml
neiluj has quit [Changing host]
ldbeth has joined #ocaml
ldbeth has quit [Ping timeout: 246 seconds]
ldbeth has joined #ocaml
ldbeth has quit [Ping timeout: 256 seconds]
ldbeth has joined #ocaml
ldbeth has quit [Remote host closed the connection]
oni-on-ion has quit [Remote host closed the connection]
ldbeth has joined #ocaml
ldbeth has quit [Quit: ERC (IRC client for Emacs 27.1)]
rock64 has joined #ocaml
rock64 is now known as olle
<companion_cube>
they're not
<companion_cube>
you can combine bold, background, foreground _at least_
<companion_cube>
possibly bold and underline, not sure
dborisog has quit [Read error: Connection reset by peer]
dborisog has joined #ocaml
pippijn has quit [Ping timeout: 256 seconds]
<d_bot>
<EduardoRFS> @jaap hmm the problem is that only a small subset of this optimisations would benefit from your `[@@pure]` external. As most of them require actual code to do anything.
<d_bot>
<jaap> Hmm ok, wouldn't it get hoisted out?
<d_bot>
<jaap> Could also be implemented as a ppx potentially
<d_bot>
<jaap> I have this function sel("aString") that is quite expensive, but is pure and always returns the same result
Yagotzirck has joined #ocaml
pippijn has joined #ocaml
shawnw has quit [Ping timeout: 256 seconds]
olle has left #ocaml [#ocaml]
narimiran has quit [Ping timeout: 268 seconds]
inkbottle has quit [Quit: Konversation terminated!]
inkbottle has joined #ocaml
Jeanne-Kamikaze has joined #ocaml
pippijn has quit [Ping timeout: 272 seconds]
gareppa has joined #ocaml
pippijn has joined #ocaml
pippijn has quit [Ping timeout: 265 seconds]
gareppa has quit [Quit: Leaving]
<d_bot>
<jayylmao> does anybody know where to find the documentation for Camomile? or at least a good entry-point mli?
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #ocaml
pippijn has joined #ocaml
<d_bot>
<EduardoRFS> There is any reason for this not be valid on the syntax? The AST supports it? The attribute on a parameter
<d_bot>
<EduardoRFS>
<d_bot>
<EduardoRFS> ```ocaml
<d_bot>
<EduardoRFS> type (('ty)[@attr]) x
<d_bot>
<EduardoRFS> ```
<d_bot>
<EduardoRFS> even the printer supports it
pippijn has quit [Ping timeout: 256 seconds]
pippijn has joined #ocaml
hnOsmium0001 has joined #ocaml
xenu has quit [Ping timeout: 272 seconds]
dborisog has quit [Ping timeout: 256 seconds]
narimiran has joined #ocaml
xenu has joined #ocaml
amiloradovsky has joined #ocaml
ArthurStrong has joined #ocaml
narimiran has quit [Ping timeout: 240 seconds]
oni-on-ion has joined #ocaml
jnavila has quit [Quit: Konversation terminated!]
inkbottle has quit [Quit: Konversation terminated!]
banjiewen_ has quit [Ping timeout: 264 seconds]
zebrag has joined #ocaml
SrPx has quit [Ping timeout: 258 seconds]
adrianbrink has quit [Ping timeout: 268 seconds]
banjiewen_ has joined #ocaml
SrPx has joined #ocaml
adrianbrink has joined #ocaml
amiloradovsky has quit [Quit: amiloradovsky]
amiloradovsky has joined #ocaml
bartholin has quit [Quit: Leaving]
neiluj has quit [Ping timeout: 240 seconds]
osa1 has quit [Ping timeout: 246 seconds]
osa1 has joined #ocaml
mosterdt has quit [Remote host closed the connection]