mizu_no_oto has quit [Quit: Computer has gone to sleep.]
aeth has joined #racket
mizu_no_oto has joined #racket
mizu_no_oto has quit [Excess Flood]
mizu_no_oto has joined #racket
<yurb>
I wonder whether it's possible to get the full blamed value printed when a contract violation occurs (currently it is being truncated after certain length)...
evdubs_ has joined #racket
mizu_no_oto has quit [Client Quit]
evdubs has quit [Ping timeout: 258 seconds]
evdubs has joined #racket
mizu_no_oto has joined #racket
mizu_no_oto has quit [Excess Flood]
mizu_no_oto has joined #racket
mizu_no_oto has quit [Excess Flood]
evdubs_ has quit [Ping timeout: 264 seconds]
mizu_no_oto has joined #racket
badkins has quit [Remote host closed the connection]
dataangel has joined #racket
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
badkins has joined #racket
aeth_ has joined #racket
aeth has quit [Disconnected by services]
aeth_ is now known as aeth
Sgeo has joined #racket
phillbush has quit [Ping timeout: 246 seconds]
phillbush has joined #racket
sschwarzer has joined #racket
<sschwarzer>
Hi :)
<sschwarzer>
How do I split a multiline string with unknown linefeed sequences into a list of strings? I could do this with a regular expression, but I wonder if there's anything more high-level.
<bremner>
there's port->lines
<sschwarzer>
So I should "convert" the string to a string port and use `port->lines`?
<sschwarzer>
I was wondering if there's something more "direct".
<bremner>
dunno. There's examples of opening strings in the port->lines docs, so I guess the two step thing is idiomatic
<sschwarzer>
Ok, so I'll use this. Thank you! :)
sm2n has quit [Quit: Leaving]
mirrorbird has joined #racket
ArneBab_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
aeth has quit [Ping timeout: 240 seconds]
aeth has joined #racket
phillbush_ has joined #racket
phillbush has quit [Ping timeout: 240 seconds]
aeth has quit [Ping timeout: 246 seconds]
aeth has joined #racket
aeth has quit [Ping timeout: 240 seconds]
<sschwarzer>
When using `run-tests` from `rackunit/text-ui` from `raco test`, is there a way to suppress the return value from `run-tests`? Normally, this prints 0 to the terminal, but I have the number of failing tests already in the summary line that `run-tests` prints for each test suite.
<sschwarzer>
I could filter out the zeros with `raco test mymodule.rkt | grep -v "^0$"`, but this would also suppress debugging output if it happens to be a single 0.
aeth has joined #racket
<sschwarzer>
Another workaround would be to wrap `run-tests` so that the wrapper function doesn't return the number of failed tests, but IMHO this is also a bit cumbersome.
<sschwarzer>
I didn't find anything helpful in the documentation for rackunit or `raco test`.
ArneBab_ has quit [Read error: Connection reset by peer]
badkins has joined #racket
Lowl3v3l has quit [Remote host closed the connection]
sagax has quit [Quit: Konversation terminated!]
mirrorbird has quit [Quit: Leaving]
aeth has quit [Ping timeout: 256 seconds]
aeth has joined #racket
phillbush_ has quit [Quit: Leaving]
phillbush has joined #racket
rgherdt has quit [Ping timeout: 272 seconds]
badkins has quit [Remote host closed the connection]