epony has quit [Remote host closed the connection]
ech has joined #racket
epony has joined #racket
aeth has quit [Ping timeout: 256 seconds]
aeth has joined #racket
_whitelogger has joined #racket
phillbush has quit [Quit: Leaving]
phillbush has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
phillbush has quit [Remote host closed the connection]
epony has quit [Ping timeout: 258 seconds]
mirrorbird has quit [Remote host closed the connection]
mirrorbird has joined #racket
epony has joined #racket
epony has quit [Remote host closed the connection]
epony has joined #racket
<samth>
bremner: i think the idea is that since the sexpression structure is still there, the highlighting is helpful. #; is definitely not discouraged.
<evdubs>
(list/c any? any? any?) for a list of 3 elements
<evdubs>
i don't think there's a way to use list/c for an arbitrary length up to a maximum
phillbush has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 246 seconds]
mirrorbird has joined #racket
mirrorbird has quit [Ping timeout: 272 seconds]
mirrorbird has joined #racket
mirrorbird has quit [Quit: Leaving]
sputny has quit [Remote host closed the connection]
sputny has joined #racket
notzmv has quit [Ping timeout: 256 seconds]
<notnotdan>
evdubs: yeah i looked at this, but it's for lists of fixed length, whereas i want to set up a max length of a list
<greghendershott>
notnotdan: Not a predefined one. You can make your own. Any predicate function is a flat contract. The resulting error message might not be great.
<greghendershott>
You could use flat-named-contract to rename it, or, use make-flat-contract for full control.
<notnotdan>
Thanks! I already have a predicate, will try turning it into a contract
<greghendershott>
Lazy-me normally just uses a predicate, when any resulting error message won't be too hard for me to figure out. If for different audience (e.g. a package or app or team), I might bother.
narimiran has joined #racket
caente has joined #racket
gremly has joined #racket
notzmv has joined #racket
badkins has joined #racket
orivej has quit [Ping timeout: 256 seconds]
sputny has quit [Remote host closed the connection]
sputny has joined #racket
badkins has quit [Ping timeout: 265 seconds]
dustyweb has joined #racket
notzmv has quit [Remote host closed the connection]
notzmv has joined #racket
TCZ has quit [Quit: Leaving]
sputny has quit [Remote host closed the connection]
sputny has joined #racket
badkins has joined #racket
notzmv has quit [Remote host closed the connection]
notzmv has joined #racket
caente has quit [Ping timeout: 272 seconds]
notzmv has quit [Remote host closed the connection]
notzmv has joined #racket
TCZ has joined #racket
sputny has quit [Remote host closed the connection]
sputny has joined #racket
orivej has joined #racket
badkins has quit [Remote host closed the connection]
notzmv has quit [Remote host closed the connection]
notzmv has joined #racket
phillbush has joined #racket
notzmv has quit [Remote host closed the connection]
notzmv has joined #racket
badkins has joined #racket
sputny has quit [Remote host closed the connection]
sputny has joined #racket
<dzoe>
Anyone using db module with postgresql and session variables?
<dzoe>
query-exec "set timezone to 'cet'" does not change anything - however in psql client it works as documented.
<dzoe>
The db module does not say anything about particular limitations of queries sent to server and it does not throw any error.
notzmv has quit [Ping timeout: 260 seconds]
TCZ has quit [Quit: Leaving]
mirrorbird has joined #racket
mirrorbird has quit [Remote host closed the connection]
sputny has quit [Remote host closed the connection]
sputny has joined #racket
<dzoe>
Apparently it returns sql-timestamp? with tz 0, although the server (probably) responds with the CET timezone. Strange at best.
<dzoe>
Ah, it is documented! Got it.
badkins has quit [Remote host closed the connection]
sputny has quit [Remote host closed the connection]
sputny has joined #racket
arpunk has quit [Ping timeout: 240 seconds]
nullcone has joined #racket
badkins has joined #racket
sputny has quit [Remote host closed the connection]
sputny has joined #racket
sputny has quit [Quit: sputny]
sputny has joined #racket
phillbush has quit [Ping timeout: 256 seconds]
badkins has quit [Remote host closed the connection]
Sgeo has joined #racket
phillbush has joined #racket
phillbush has quit [Client Quit]
badkins has joined #racket
endformationage has joined #racket
temp64 has joined #racket
FreeFull has joined #racket
FreeFull has quit [Read error: Connection reset by peer]
phillbush has joined #racket
corpix has quit [Quit: corpix]
caente has joined #racket
FreeFull has joined #racket
sputny has quit [Remote host closed the connection]
narimiran has quit [Ping timeout: 264 seconds]
mirrorbird has joined #racket
selimcan has quit [Ping timeout: 264 seconds]
selimcan has joined #racket
mirrorbird has quit [Quit: Leaving]
casaca has quit [Remote host closed the connection]