2016-08-02T00:00:58Z adhoc[] joined #lisp 2016-08-02T00:01:48Z EvW quit (Quit: EvW) 2016-08-02T00:02:57Z IPmonger joined #lisp 2016-08-02T00:07:57Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T00:12:13Z IPmonger joined #lisp 2016-08-02T00:16:39Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T00:17:18Z IPmonger joined #lisp 2016-08-02T00:19:42Z Karl_Dscc quit (Remote host closed the connection) 2016-08-02T00:23:15Z t_baggins is now known as trinitr0n 2016-08-02T00:27:03Z BlueRavenGT joined #lisp 2016-08-02T00:27:25Z ovenpasta quit (Ping timeout: 252 seconds) 2016-08-02T00:30:27Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T00:35:08Z IPmonger joined #lisp 2016-08-02T00:37:52Z Anselmo joined #lisp 2016-08-02T00:39:34Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T00:40:14Z IPmonger joined #lisp 2016-08-02T00:42:20Z zm joined #lisp 2016-08-02T00:43:23Z m00natic quit (Remote host closed the connection) 2016-08-02T00:44:40Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T00:44:52Z mastokley quit (Ping timeout: 264 seconds) 2016-08-02T00:46:15Z wildlander quit (Quit: Saliendo) 2016-08-02T00:48:56Z IPmonger joined #lisp 2016-08-02T00:49:26Z fluter quit (Ping timeout: 250 seconds) 2016-08-02T00:59:02Z fluter joined #lisp 2016-08-02T01:02:51Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T01:07:19Z IPmonger joined #lisp 2016-08-02T01:07:27Z stepnem quit (Ping timeout: 260 seconds) 2016-08-02T01:11:43Z shdeng joined #lisp 2016-08-02T01:11:54Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T01:12:26Z IPmonger joined #lisp 2016-08-02T01:16:10Z didi joined #lisp 2016-08-02T01:16:40Z didi left #lisp 2016-08-02T01:17:03Z IPmonger quit (Ping timeout: 265 seconds) 2016-08-02T01:21:11Z IPmonger joined #lisp 2016-08-02T01:24:24Z tmtwd joined #lisp 2016-08-02T01:25:39Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T01:26:15Z IPmonger joined #lisp 2016-08-02T01:31:04Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T01:33:00Z rumbler3_ quit (Remote host closed the connection) 2016-08-02T01:33:07Z varjag quit (Ping timeout: 260 seconds) 2016-08-02T01:35:02Z IPmonger joined #lisp 2016-08-02T01:37:36Z deank quit 2016-08-02T01:38:33Z Urchin quit (Ping timeout: 240 seconds) 2016-08-02T01:38:50Z ehaliewicz quit (Ping timeout: 250 seconds) 2016-08-02T01:39:19Z emaczen quit (Ping timeout: 244 seconds) 2016-08-02T01:41:33Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T01:41:41Z Urchin joined #lisp 2016-08-02T01:42:14Z IPmonger joined #lisp 2016-08-02T01:43:58Z karswell` is now known as karswell 2016-08-02T01:44:23Z defaultxr joined #lisp 2016-08-02T01:45:58Z prole quit (Remote host closed the connection) 2016-08-02T01:54:18Z Anselmo quit (Ping timeout: 244 seconds) 2016-08-02T01:55:39Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T01:58:21Z mastokley joined #lisp 2016-08-02T02:00:09Z IPmonger joined #lisp 2016-08-02T02:01:01Z asc232 joined #lisp 2016-08-02T02:03:12Z akkad: no (nil?)? how do you safely test if a variable set in the letblock is nil? 2016-08-02T02:03:55Z akkad: ahh null 2016-08-02T02:05:32Z akkad: hmm 2016-08-02T02:09:17Z vibs29 joined #lisp 2016-08-02T02:09:19Z IPmonger quit (Quit: ZNC 1.6.3 - http://znc.in) 2016-08-02T02:09:36Z IPmonger joined #lisp 2016-08-02T02:13:52Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T02:14:25Z IPmonger joined #lisp 2016-08-02T02:14:55Z cromachina: akkad: lisps often have generalized booleans, meaning if a value is not false or nil, then it's true 2016-08-02T02:18:42Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T02:18:53Z emaczen joined #lisp 2016-08-02T02:23:05Z IPmonger joined #lisp 2016-08-02T02:26:23Z Sucks joined #lisp 2016-08-02T02:26:50Z loke: cromachina: Which is why NULL and NOT are actually the same function. 2016-08-02T02:27:06Z Habens joined #lisp 2016-08-02T02:27:42Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T02:28:12Z IPmonger joined #lisp 2016-08-02T02:28:26Z Sucks quit (Excess Flood) 2016-08-02T02:28:40Z sjl quit (Read error: Connection reset by peer) 2016-08-02T02:31:03Z Sucks joined #lisp 2016-08-02T02:32:15Z tmtwd quit (Ping timeout: 276 seconds) 2016-08-02T02:32:49Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-02T02:36:57Z IPmonger joined #lisp 2016-08-02T02:37:42Z davsebamse quit (Ping timeout: 244 seconds) 2016-08-02T02:40:44Z PuercoPop: akkad: there is boundp but that works only in global environment 2016-08-02T02:41:03Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T02:41:40Z PuercoPop: nvm 2016-08-02T02:41:42Z PuercoPop: missread 2016-08-02T02:42:06Z Zhivago: All variables established by a set are set. 2016-08-02T02:42:24Z Zhivago: er, established by a let. 2016-08-02T02:44:08Z tmtwd joined #lisp 2016-08-02T02:46:09Z IPmonger joined #lisp 2016-08-02T02:50:42Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T02:51:14Z IPmonger joined #lisp 2016-08-02T02:53:12Z nocd quit (Read error: Connection reset by peer) 2016-08-02T02:54:19Z davsebamse joined #lisp 2016-08-02T02:59:55Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T03:00:02Z arescorpio joined #lisp 2016-08-02T03:04:31Z IPmonger joined #lisp 2016-08-02T03:07:56Z CEnnis91 joined #lisp 2016-08-02T03:09:03Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T03:11:07Z tmtwd quit (Ping timeout: 260 seconds) 2016-08-02T03:13:41Z IPmonger joined #lisp 2016-08-02T03:16:58Z akkad: yeah testing for nil on a variable that is not set is an error 2016-08-02T03:17:52Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T03:18:42Z tmtwd joined #lisp 2016-08-02T03:19:37Z nocd joined #lisp 2016-08-02T03:19:54Z gravicappa joined #lisp 2016-08-02T03:21:05Z derrida quit (Ping timeout: 244 seconds) 2016-08-02T03:22:55Z IPmonger joined #lisp 2016-08-02T03:24:23Z zacharias_ joined #lisp 2016-08-02T03:24:35Z derrida joined #lisp 2016-08-02T03:24:36Z derrida quit (Changing host) 2016-08-02T03:24:36Z derrida joined #lisp 2016-08-02T03:25:47Z jasom: akkad: (if (not x) ...) and (if (null x) ...) are equivalent; the only semantic difference is to the reader 2016-08-02T03:28:09Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T03:28:09Z zacharias quit (Ping timeout: 276 seconds) 2016-08-02T03:32:10Z IPmonger joined #lisp 2016-08-02T03:36:34Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T03:37:14Z IPmonger joined #lisp 2016-08-02T03:40:38Z i44 joined #lisp 2016-08-02T03:41:32Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T03:45:54Z IPmonger joined #lisp 2016-08-02T03:48:26Z i44 quit (Quit: Leaving) 2016-08-02T03:48:53Z akkad: jasom: cl-user> (if (not fofff) (princ "hi")) 2016-08-02T03:48:54Z akkad: The variable fofff is unbound. 2016-08-02T03:48:54Z akkad: 2016-08-02T03:49:24Z jasom: akkad: (if (null fofff) (princ "hi")) ; does the same thing 2016-08-02T03:49:33Z jasom: but if it's in a let, then it will be bound 2016-08-02T03:49:45Z akkad: so thought me too 2016-08-02T03:50:02Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T03:52:03Z asc232 quit (Ping timeout: 240 seconds) 2016-08-02T03:52:06Z jleija quit (Quit: leaving) 2016-08-02T03:55:07Z IPmonger joined #lisp 2016-08-02T03:56:42Z oleo_ joined #lisp 2016-08-02T04:00:39Z oleo quit (Ping timeout: 276 seconds) 2016-08-02T04:04:19Z IPmonger quit (Quit: ZNC 1.6.3 - http://znc.in) 2016-08-02T04:04:34Z IPmonger joined #lisp 2016-08-02T04:07:57Z kobain quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) 2016-08-02T04:07:58Z les quit (Quit: "") 2016-08-02T04:09:29Z les joined #lisp 2016-08-02T04:11:42Z shifty: is there a simple way to silence output, like (let ((*standard-output* nil)) (format t "I can't hear you.")) ?? 2016-08-02T04:12:48Z Bike: bind it to (make-broadcast-stream) i think 2016-08-02T04:13:48Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T04:15:07Z loke quit (Ping timeout: 252 seconds) 2016-08-02T04:18:11Z IPmonger joined #lisp 2016-08-02T04:21:52Z jfrancis joined #lisp 2016-08-02T04:22:18Z shifty: binding *standard-output* to (make-string-output-string) "works", but I'd be interested to hear if this is an appropriate solution. 2016-08-02T04:22:37Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T04:23:13Z IPmonger joined #lisp 2016-08-02T04:24:18Z Bike: well, that will keep information around, a broadcast stream will just dump everything immediately 2016-08-02T04:27:57Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T04:28:02Z ahungry quit (Remote host closed the connection) 2016-08-02T04:28:23Z loke joined #lisp 2016-08-02T04:31:10Z smokeink joined #lisp 2016-08-02T04:31:56Z IPmonger joined #lisp 2016-08-02T04:33:40Z Anselmo joined #lisp 2016-08-02T04:33:54Z emaczen quit (Ping timeout: 250 seconds) 2016-08-02T04:34:00Z rszeno joined #lisp 2016-08-02T04:36:28Z smokeink quit (Read error: Connection reset by peer) 2016-08-02T04:36:32Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T04:40:44Z xrash quit (Remote host closed the connection) 2016-08-02T04:40:48Z emaczen joined #lisp 2016-08-02T04:40:58Z xrash joined #lisp 2016-08-02T04:41:00Z les quit (Quit: "") 2016-08-02T04:41:08Z IPmonger joined #lisp 2016-08-02T04:41:15Z les joined #lisp 2016-08-02T04:42:04Z shifty: Bike: ok, thank you. 2016-08-02T04:45:40Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T04:49:26Z rszeno quit (Quit: Leaving.) 2016-08-02T04:49:29Z beach joined #lisp 2016-08-02T04:49:50Z beach: Good morning everyone! 2016-08-02T04:50:21Z IPmonger joined #lisp 2016-08-02T04:50:59Z vlatkoB joined #lisp 2016-08-02T04:53:49Z BlueRavenGT quit (Read error: Connection reset by peer) 2016-08-02T04:54:07Z edgar-rft quit (Quit: edgar-rft) 2016-08-02T04:54:25Z pierpa: morning 2016-08-02T04:54:44Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T04:55:24Z IPmonger joined #lisp 2016-08-02T04:59:46Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T05:00:08Z drmeister: Howdy 2016-08-02T05:00:49Z beach: drmeister: Oh, good that you are here. I had a few questions for you with respect to your use of Cleavir. 2016-08-02T05:01:06Z beach: Let me check the code... 2016-08-02T05:01:25Z drmeister: Sure. 2016-08-02T05:01:32Z drmeister is getting ready to check his code... 2016-08-02T05:02:27Z drmeister: I've been off implementing a new build system based on 'waf' a build system written in Python - the language for those not quite ready for Lisp. 2016-08-02T05:02:36Z beach: Do you use the following primitive operations: #:fixnum-arithmetic #:fixnum-+ #:fixnum-- #:fixnum-< #:fixnum-<= #:fixnum-> #:fixnum->= #:fixnum-= ? 2016-08-02T05:02:36Z beach: 2016-08-02T05:02:45Z beach: I would like to rename them. 2016-08-02T05:02:51Z drmeister: Checking... 2016-08-02T05:03:18Z xrash quit (Ping timeout: 258 seconds) 2016-08-02T05:04:07Z IPmonger joined #lisp 2016-08-02T05:04:22Z drmeister: I use: #:fixnum-+ #:fixnum-- #:fixnum-< #:fixnum-<= #:fixnum-> #:fixnum->= 2016-08-02T05:04:35Z beach: Oh, OK. 2016-08-02T05:04:46Z drmeister: It would be trivial to change them 2016-08-02T05:04:47Z beach: I'll figure out a migration path then. 2016-08-02T05:04:52Z beach: Sure. 2016-08-02T05:05:01Z drmeister: It really would be trivial to change them. 2016-08-02T05:05:12Z beach: Let me first make sure there is a drop-in replacement. I'll let you know. 2016-08-02T05:05:15Z beach: Thanks. 2016-08-02T05:05:16Z drmeister: So a migration path like: (1) change them (2) push changes works for me. 2016-08-02T05:05:27Z dainis quit (Ping timeout: 260 seconds) 2016-08-02T05:05:32Z drmeister: I see. Drop in changes are good - yes. 2016-08-02T05:05:34Z oleo_ quit (Quit: Leaving) 2016-08-02T05:06:14Z drmeister: What would you change? How overflow is handled? 2016-08-02T05:06:23Z beach: Just the name. 2016-08-02T05:06:41Z beach: The names are a pain for things like grep. 2016-08-02T05:07:27Z beach: So they will become fixnum-add, fixnum-sub, etc. 2016-08-02T05:08:09Z Bike: you don't like grepping fixnum\-\+, huh. 2016-08-02T05:08:29Z beach: I think there were other problems. I just can't remember them now. 2016-08-02T05:08:33Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T05:09:37Z defaultxr quit (Quit: gnight) 2016-08-02T05:13:21Z zm quit (Ping timeout: 250 seconds) 2016-08-02T05:13:22Z IPmonger joined #lisp 2016-08-02T05:17:03Z CEnnis91 quit (Quit: Connection closed for inactivity) 2016-08-02T05:18:00Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T05:18:25Z IPmonger joined #lisp 2016-08-02T05:22:31Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T05:23:06Z jlarocco joined #lisp 2016-08-02T05:23:33Z Petit_Dejeuner quit (Read error: Connection reset by peer) 2016-08-02T05:24:14Z Petit_Dejeuner joined #lisp 2016-08-02T05:27:10Z IPmonger joined #lisp 2016-08-02T05:27:53Z jlarocco: does anybody know of an existing CL binding to Renderman? 2016-08-02T05:28:13Z joshe quit (Ping timeout: 258 seconds) 2016-08-02T05:28:17Z arescorpio quit (Quit: Leaving.) 2016-08-02T05:28:29Z joshe joined #lisp 2016-08-02T05:31:13Z Habens quit (Remote host closed the connection) 2016-08-02T05:31:46Z IPmonger quit (Ping timeout: 265 seconds) 2016-08-02T05:32:16Z IPmonger joined #lisp 2016-08-02T05:33:08Z jlarocco: i started with Swig, but realized it's a lot more work than I want to spend on it to play around 2016-08-02T05:33:17Z jlarocco: but if somebody's already done the work... 2016-08-02T05:40:01Z pillton: jlarocco: Why don't you use lisp to generate the input to renderman? 2016-08-02T05:40:15Z pillton: We have IPC for a reason. 2016-08-02T05:42:17Z Habens joined #lisp 2016-08-02T05:43:23Z jlarocco: i will probably end up doing that 2016-08-02T05:43:45Z jlarocco: I was hoping to avoid a lot of kind of boring work by having Swig generate everything 2016-08-02T05:44:51Z jlarocco: because even if I don't render with the API, it's possible to have the C API generate the bytestream files that the renderer uses as input 2016-08-02T05:45:29Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T05:45:38Z ramky joined #lisp 2016-08-02T05:45:43Z jlarocco: or render directly as the scene is generated with API calls 2016-08-02T05:46:09Z jlarocco: but everything is binary structures and pointers, and the calling convention use variable arguments everywhere 2016-08-02T05:46:39Z Habens quit (Ping timeout: 260 seconds) 2016-08-02T05:46:45Z jlarocco: so I'm going to implement the parts I need, and have it generate the bytestream to a CL stream, I guess 2016-08-02T05:46:53Z jlarocco: and ignore the API 2016-08-02T05:48:39Z Habens joined #lisp 2016-08-02T05:49:40Z proudanselmo joined #lisp 2016-08-02T05:49:56Z Anselmo quit (Disconnected by services) 2016-08-02T05:50:02Z proudanselmo is now known as Anselmo 2016-08-02T05:50:08Z IPmonger joined #lisp 2016-08-02T05:54:32Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T05:55:15Z IPmonger joined #lisp 2016-08-02T05:56:39Z Sucks quit (Quit: Leaving) 2016-08-02T05:58:56Z flamebeard joined #lisp 2016-08-02T06:00:35Z emaczen quit (Ping timeout: 244 seconds) 2016-08-02T06:03:40Z IPmonger quit (Ping timeout: 265 seconds) 2016-08-02T06:04:29Z IPmonger joined #lisp 2016-08-02T06:07:03Z tmtwd quit (Ping timeout: 265 seconds) 2016-08-02T06:09:08Z Habens quit (Remote host closed the connection) 2016-08-02T06:09:42Z mathi_aihtam joined #lisp 2016-08-02T06:12:22Z gingerale joined #lisp 2016-08-02T06:13:30Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T06:15:31Z bocaneri joined #lisp 2016-08-02T06:17:28Z pierpa quit (Ping timeout: 250 seconds) 2016-08-02T06:17:43Z IPmonger joined #lisp 2016-08-02T06:21:14Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-02T06:30:02Z Munksgaard joined #lisp 2016-08-02T06:31:39Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T06:34:15Z mvilleneuve joined #lisp 2016-08-02T06:36:09Z IPmonger joined #lisp 2016-08-02T06:38:08Z shka_ joined #lisp 2016-08-02T06:40:39Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T06:43:06Z angavrilov joined #lisp 2016-08-02T06:43:57Z SamSkulls quit (Remote host closed the connection) 2016-08-02T06:45:16Z IPmonger joined #lisp 2016-08-02T06:49:52Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T06:50:22Z IPmonger joined #lisp 2016-08-02T06:50:24Z beach left #lisp 2016-08-02T06:53:22Z Habens joined #lisp 2016-08-02T06:54:45Z merge joined #lisp 2016-08-02T06:57:32Z vibs29 left #lisp 2016-08-02T06:57:46Z Habens quit (Ping timeout: 250 seconds) 2016-08-02T06:58:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T06:59:35Z IPmonger joined #lisp 2016-08-02T07:00:09Z shka_ quit (Ping timeout: 260 seconds) 2016-08-02T07:01:12Z ovenpasta joined #lisp 2016-08-02T07:03:50Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T07:06:00Z mathi_aihtam joined #lisp 2016-08-02T07:06:44Z merge quit (Quit: i'm a.out) 2016-08-02T07:07:04Z merge joined #lisp 2016-08-02T07:07:57Z mathi_aihtam quit (Client Quit) 2016-08-02T07:08:17Z IPmonger joined #lisp 2016-08-02T07:09:28Z edgar-rft joined #lisp 2016-08-02T07:10:12Z merge quit (Client Quit) 2016-08-02T07:13:03Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T07:13:22Z IPmonger joined #lisp 2016-08-02T07:14:13Z reepca quit (Read error: Connection reset by peer) 2016-08-02T07:16:12Z Habens joined #lisp 2016-08-02T07:17:42Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T07:19:05Z mathi_aihtam joined #lisp 2016-08-02T07:22:03Z IPmonger joined #lisp 2016-08-02T07:24:26Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-02T07:25:40Z loke quit (Ping timeout: 264 seconds) 2016-08-02T07:26:12Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T07:27:11Z IPmonger joined #lisp 2016-08-02T07:29:26Z gargaml joined #lisp 2016-08-02T07:30:08Z reepca joined #lisp 2016-08-02T07:30:30Z emaczen joined #lisp 2016-08-02T07:31:41Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T07:33:24Z Petit_Dejeuner quit (Ping timeout: 260 seconds) 2016-08-02T07:33:31Z tax quit (Ping timeout: 258 seconds) 2016-08-02T07:35:53Z reepca quit (Ping timeout: 250 seconds) 2016-08-02T07:35:57Z IPmonger joined #lisp 2016-08-02T07:37:03Z emaczen quit (Ping timeout: 264 seconds) 2016-08-02T07:38:02Z loke joined #lisp 2016-08-02T07:38:07Z Velveeta_Chef quit (Ping timeout: 258 seconds) 2016-08-02T07:38:08Z tax joined #lisp 2016-08-02T07:40:25Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T07:41:03Z mvilleneuve quit (Ping timeout: 240 seconds) 2016-08-02T07:41:49Z mvilleneuve joined #lisp 2016-08-02T07:43:22Z varjag joined #lisp 2016-08-02T07:45:04Z IPmonger joined #lisp 2016-08-02T07:45:43Z puchacz joined #lisp 2016-08-02T07:46:43Z przl joined #lisp 2016-08-02T07:49:39Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T07:50:10Z IPmonger joined #lisp 2016-08-02T07:51:07Z tax quit (Ping timeout: 260 seconds) 2016-08-02T07:51:15Z Velveeta_Chef joined #lisp 2016-08-02T07:51:20Z gargaml quit (Quit: WeeChat 1.5) 2016-08-02T07:53:23Z loke quit (Ping timeout: 265 seconds) 2016-08-02T07:54:24Z edgar-rft quit (Remote host closed the connection) 2016-08-02T07:56:01Z pierpa joined #lisp 2016-08-02T07:57:24Z shka joined #lisp 2016-08-02T07:58:33Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T07:59:21Z IPmonger joined #lisp 2016-08-02T08:00:30Z papachan quit (Ping timeout: 276 seconds) 2016-08-02T08:02:04Z papachan joined #lisp 2016-08-02T08:03:03Z reepca joined #lisp 2016-08-02T08:03:37Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T08:05:12Z tax joined #lisp 2016-08-02T08:05:50Z loke joined #lisp 2016-08-02T08:07:50Z pok quit (Ping timeout: 244 seconds) 2016-08-02T08:08:05Z IPmonger joined #lisp 2016-08-02T08:08:38Z pok joined #lisp 2016-08-02T08:12:17Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T08:13:13Z IPmonger joined #lisp 2016-08-02T08:14:29Z HammyJammy joined #lisp 2016-08-02T08:15:45Z gargaml joined #lisp 2016-08-02T08:16:01Z Beetny joined #lisp 2016-08-02T08:16:27Z unrahul quit (Ping timeout: 258 seconds) 2016-08-02T08:16:33Z tax quit (Excess Flood) 2016-08-02T08:16:50Z banjiewen quit (Ping timeout: 258 seconds) 2016-08-02T08:16:59Z watersoul_ joined #lisp 2016-08-02T08:17:13Z gz__ quit (Ping timeout: 258 seconds) 2016-08-02T08:17:31Z nzambe quit (Ping timeout: 250 seconds) 2016-08-02T08:17:36Z danlentz quit (Ping timeout: 258 seconds) 2016-08-02T08:17:36Z JammyHammy quit (Ping timeout: 258 seconds) 2016-08-02T08:17:39Z gz__ joined #lisp 2016-08-02T08:17:49Z cromachina quit (Read error: Connection reset by peer) 2016-08-02T08:18:33Z cromachina joined #lisp 2016-08-02T08:18:33Z barbone quit (Ping timeout: 240 seconds) 2016-08-02T08:18:38Z unrahul joined #lisp 2016-08-02T08:19:03Z banjiewen joined #lisp 2016-08-02T08:19:03Z derrida quit (Ping timeout: 240 seconds) 2016-08-02T08:19:19Z danlentz joined #lisp 2016-08-02T08:19:40Z bigfondue quit (Ping timeout: 264 seconds) 2016-08-02T08:19:40Z grouzen quit (Ping timeout: 250 seconds) 2016-08-02T08:20:04Z gigetoo_ joined #lisp 2016-08-02T08:20:07Z watersoul quit (Ping timeout: 250 seconds) 2016-08-02T08:20:12Z Tordek_ joined #lisp 2016-08-02T08:20:17Z Blukunfando quit (Ping timeout: 258 seconds) 2016-08-02T08:20:58Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T08:20:58Z Tordek quit (Ping timeout: 240 seconds) 2016-08-02T08:20:59Z gigetoo quit (Ping timeout: 240 seconds) 2016-08-02T08:21:01Z gigetoo_ is now known as gigetoo 2016-08-02T08:21:05Z grouzen joined #lisp 2016-08-02T08:21:09Z loke quit (Ping timeout: 250 seconds) 2016-08-02T08:21:48Z barbone joined #lisp 2016-08-02T08:21:49Z kjeldahl quit (Ping timeout: 258 seconds) 2016-08-02T08:21:54Z IPmonger joined #lisp 2016-08-02T08:21:57Z Fleurety quit (Ping timeout: 276 seconds) 2016-08-02T08:22:02Z derrida joined #lisp 2016-08-02T08:22:03Z derrida quit (Changing host) 2016-08-02T08:22:03Z derrida joined #lisp 2016-08-02T08:22:18Z tax joined #lisp 2016-08-02T08:22:28Z kjeldahl joined #lisp 2016-08-02T08:23:36Z Fleurety joined #lisp 2016-08-02T08:25:03Z vaporatorius quit (Ping timeout: 240 seconds) 2016-08-02T08:27:09Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T08:30:24Z zacharias_ quit (Ping timeout: 276 seconds) 2016-08-02T08:31:08Z IPmonger joined #lisp 2016-08-02T08:31:47Z loke joined #lisp 2016-08-02T08:31:52Z vaporatorius joined #lisp 2016-08-02T08:32:58Z reepca quit (Read error: Connection reset by peer) 2016-08-02T08:33:32Z reepca joined #lisp 2016-08-02T08:33:59Z Karl_Dscc joined #lisp 2016-08-02T08:34:55Z Blukunfando joined #lisp 2016-08-02T08:35:27Z CrazyEddy quit (Ping timeout: 260 seconds) 2016-08-02T08:35:35Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T08:38:14Z Tordek_ is now known as Tordek 2016-08-02T08:38:24Z Tordek: hi 2016-08-02T08:40:19Z IPmonger joined #lisp 2016-08-02T08:40:19Z xaotuk joined #lisp 2016-08-02T08:43:21Z M-moredhel joined #lisp 2016-08-02T08:44:48Z xaotuk quit (Ping timeout: 250 seconds) 2016-08-02T08:46:20Z bigfondue joined #lisp 2016-08-02T08:47:04Z gargaml quit (Quit: WeeChat 1.5) 2016-08-02T08:47:38Z gargaml joined #lisp 2016-08-02T08:49:06Z Bike quit (Quit: wings) 2016-08-02T08:49:23Z IPmonger quit (Quit: ZNC 1.6.3 - http://znc.in) 2016-08-02T08:49:37Z IPmonger joined #lisp 2016-08-02T08:54:19Z loke: Hello Lisp 2016-08-02T08:54:27Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T08:55:27Z Munksgaard: Hi 2016-08-02T08:56:10Z stepnem joined #lisp 2016-08-02T08:56:51Z przl quit (Ping timeout: 264 seconds) 2016-08-02T08:58:40Z IPmonger joined #lisp 2016-08-02T09:00:03Z przl joined #lisp 2016-08-02T09:03:19Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-02T09:03:54Z Urchin quit (Changing host) 2016-08-02T09:03:54Z Urchin joined #lisp 2016-08-02T09:04:27Z reepca quit (Read error: Connection reset by peer) 2016-08-02T09:06:52Z reepca joined #lisp 2016-08-02T09:07:53Z IPmonger joined #lisp 2016-08-02T09:12:26Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T09:14:15Z foom quit (Ping timeout: 250 seconds) 2016-08-02T09:16:39Z Habens quit (Remote host closed the connection) 2016-08-02T09:17:06Z IPmonger joined #lisp 2016-08-02T09:18:45Z emaczen joined #lisp 2016-08-02T09:19:31Z CrazyEddy joined #lisp 2016-08-02T09:20:28Z adhoc[] quit (Ping timeout: 258 seconds) 2016-08-02T09:22:23Z adhoc[] joined #lisp 2016-08-02T09:23:29Z Karl_Dscc quit (Remote host closed the connection) 2016-08-02T09:23:47Z emaczen quit (Ping timeout: 244 seconds) 2016-08-02T09:24:06Z przl quit (Remote host closed the connection) 2016-08-02T09:25:20Z M-Illandan joined #lisp 2016-08-02T09:26:23Z foom joined #lisp 2016-08-02T09:31:40Z mr_yogurt_ joined #lisp 2016-08-02T09:31:43Z malice`: Hi! I've been making a stupid test of defstruct vs defclass (create an instance of "identical" structure with two fields), and created million instances of each, to test how it looks like. Both put in 'time macro. 2016-08-02T09:32:17Z malice`: I've noticed that creating CLOS classes took ~1/3 time more, and consed 2x as much as defstruct. Why is that? I was using SBCL 2016-08-02T09:32:27Z impaktor quit (Ping timeout: 250 seconds) 2016-08-02T09:32:50Z zacharias joined #lisp 2016-08-02T09:33:27Z jackdaniel: malice`: structs are simpler in terms of specification, so they may be optimized wrt various parts but they have also various limitations 2016-08-02T09:33:51Z jackdaniel: for instance you can't change a structure definition during the runtime if it's already defined 2016-08-02T09:33:58Z H4ns: malice`: also, clos instances have much more runtime information associated with them. 2016-08-02T09:34:29Z mr_yogurt quit (Ping timeout: 244 seconds) 2016-08-02T09:35:07Z jackdaniel: (by "you can't change" I mean that the implementation isn't mandated to do anything according the spec, it will probably work though) 2016-08-02T09:35:24Z m00natic joined #lisp 2016-08-02T09:35:33Z H4ns: it does not work often enough to be an annoyance if you're working repl based. 2016-08-02T09:35:35Z ggole joined #lisp 2016-08-02T09:35:51Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T09:36:09Z jackdaniel: malice`: basically structure is either list or vector of fields with names 2016-08-02T09:36:12Z malice`: So is this post wrong? https://groups.google.com/d/msg/comp.lang.lisp/fpEC_WubwGE/hWEUfgEhnmoJ 2016-08-02T09:36:47Z jackdaniel: why would it be wrong? 2016-08-02T09:36:48Z malice`: He said that it is conforming. 2016-08-02T09:36:59Z przl joined #lisp 2016-08-02T09:37:16Z jackdaniel: the "conforming" part is about the defclass 2016-08-02T09:37:28Z malice`: Oh, sorry. I thought you were referring to the fact that you can change defclass, not that you can't change defstruct. 2016-08-02T09:37:39Z jlarocco quit (Remote host closed the connection) 2016-08-02T09:37:46Z jackdaniel: it's one of the goodies defclass gives you 2016-08-02T09:40:06Z IPmonger joined #lisp 2016-08-02T09:44:37Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T09:45:12Z IPmonger joined #lisp 2016-08-02T09:46:01Z hiyosi quit (Ping timeout: 244 seconds) 2016-08-02T09:48:53Z Karl_Dscc joined #lisp 2016-08-02T09:49:39Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T09:52:44Z ASau quit (Ping timeout: 244 seconds) 2016-08-02T09:53:52Z przl quit (Ping timeout: 264 seconds) 2016-08-02T09:53:55Z IPmonger joined #lisp 2016-08-02T09:56:48Z przl joined #lisp 2016-08-02T09:58:39Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T10:03:11Z IPmonger joined #lisp 2016-08-02T10:06:32Z deank joined #lisp 2016-08-02T10:07:33Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T10:08:09Z Habens joined #lisp 2016-08-02T10:08:11Z IPmonger joined #lisp 2016-08-02T10:10:51Z John[Lisbeth] joined #lisp 2016-08-02T10:11:15Z John[Lisbeth]: I am reading gentle intro and I have encountered this syntax where you use the period character in order to make lists. 2016-08-02T10:11:24Z Karl_Dscc quit (Remote host closed the connection) 2016-08-02T10:11:40Z John[Lisbeth]: I have tried doing something like ('a . 'b) but this does not seem to have the desired effect 2016-08-02T10:11:55Z pierpa: probably you want '(a . b) 2016-08-02T10:12:08Z John[Lisbeth]: let me test it out 2016-08-02T10:12:32Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T10:12:58Z John[Lisbeth]: Why can't I (list (a . b)) ? 2016-08-02T10:13:36Z pierpa: because, in programs, open parentheses means function calls 2016-08-02T10:13:57Z John[Lisbeth]: Is it treating a as a function? 2016-08-02T10:13:58Z pierpa: and I assume you don't have a function called a 2016-08-02T10:14:35Z John[Lisbeth]: I've got to figure out how I can use the period character to build a list that when I evaluate it the output is in the (a b) format 2016-08-02T10:14:55Z d4ryus quit (Ping timeout: 250 seconds) 2016-08-02T10:15:06Z jdz: why do you think you need to use the dot? 2016-08-02T10:15:08Z pierpa: I'm sure the gentle introduction explain this 2016-08-02T10:15:24Z jdz: oh, it's an exercise 2016-08-02T10:15:25Z John[Lisbeth]: I've got to understand what the . does and why it is for 2016-08-02T10:15:44Z John[Lisbeth]: The problem is they use pseudocode when writing lists in gentle 2016-08-02T10:15:56Z pierpa: the dot does nothing. It is just syntax 2016-08-02T10:16:00Z John[Lisbeth]: they simply write a list as (a b c d) instead of (list 'a 'b 'c 'd) 2016-08-02T10:16:27Z pierpa: what's wrong with (a b c d)? 2016-08-02T10:16:43Z John[Lisbeth]: it gives me a compiler error 2016-08-02T10:16:54Z IPmonger joined #lisp 2016-08-02T10:17:05Z pierpa: if you want data, then quote it 2016-08-02T10:17:18Z jdz: but when you type (list 'a 'b 'c 'd) i bet your lisp returns (a b c d), right? 2016-08-02T10:17:24Z John[Lisbeth]: yes 2016-08-02T10:17:37Z John[Lisbeth]: I need to return (a b) with the period 2016-08-02T10:17:42Z John[Lisbeth]: or else I don't understand what it does 2016-08-02T10:17:48Z d4ryus joined #lisp 2016-08-02T10:17:53Z jdz: no, you need to read more carefully 2016-08-02T10:18:04Z jdz: and try to understand what you're reading 2016-08-02T10:18:24Z fluter quit (Ping timeout: 258 seconds) 2016-08-02T10:18:31Z John[Lisbeth]: pseudocode like (A B C . D) confuses me 2016-08-02T10:18:40Z jdz: that's not code 2016-08-02T10:19:36Z ovenpasta: John[Lisbeth]: you mean (cons 'a (cons 'b '())) => (a b) 2016-08-02T10:20:00Z aries_liuxueyang: Hello, 2016-08-02T10:20:03Z pierpa: they mean '(a . (b . nil)) 2016-08-02T10:20:22Z John[Lisbeth]: I see. So the cons is sort of an unintelligent older function that does not automatically ad a nil 2016-08-02T10:20:33Z aries_liuxueyang: in REMOVE-DUPLICATES here: http://www.lispworks.com/documentation/HyperSpec/Body/f_rm_dup.htm, what is the :test function by default? 2016-08-02T10:20:42Z John[Lisbeth]: I understand now 2016-08-02T10:20:45Z John[Lisbeth]: more or less 2016-08-02T10:20:48Z pierpa: aries_liuxueyang: eql 2016-08-02T10:21:17Z aries_liuxueyang: In general, all functions which requires :test keyword is EQL by default? 2016-08-02T10:21:25Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T10:21:45Z aries_liuxueyang: or some functions are special? 2016-08-02T10:23:16Z pierpa: I think so. Not sure, though. 2016-08-02T10:23:35Z jdz: clhs 17.2.1 2016-08-02T10:23:36Z specbot: Satisfying a Two-Argument Test: http://www.lispworks.com/reference/HyperSpec/Body/17_ba.htm 2016-08-02T10:25:04Z aries_liuxueyang: specbot: thank you so much. `If neither a :test nor a :test-not argument is supplied, it is as if a :test argument of #'eql was supplied.` 2016-08-02T10:25:33Z pierpa: they could have put a link in the function pages, though 2016-08-02T10:26:08Z IPmonger joined #lisp 2016-08-02T10:26:50Z aries_liuxueyang: yeah. 2016-08-02T10:27:33Z jdz: i found it by clicking the "up arrow" twice 2016-08-02T10:27:51Z pierpa: still... 2016-08-02T10:28:04Z jdz: there's usually the "whatever dictionary" chapter, and general information chapters before that 2016-08-02T10:28:22Z p_l quit (Ping timeout: 250 seconds) 2016-08-02T10:28:23Z jdz: still, it's worth familiarising oneself with the structure of HyperSpec 2016-08-02T10:28:46Z pierpa: yeah, right 2016-08-02T10:28:56Z aries_liuxueyang: I'm not familar with the HyperSpec now. ;-( 2016-08-02T10:30:31Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T10:30:49Z p_l joined #lisp 2016-08-02T10:31:12Z IPmonger joined #lisp 2016-08-02T10:31:53Z Yuuhi joined #lisp 2016-08-02T10:33:44Z fluter joined #lisp 2016-08-02T10:35:08Z John[Lisbeth]: Now I am trying to do (A B C . #1#) 2016-08-02T10:35:27Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T10:35:42Z John[Lisbeth]: Such that (nth 4 (A B C . #1#)) => A 2016-08-02T10:36:12Z shdeng quit (Ping timeout: 260 seconds) 2016-08-02T10:37:37Z John[Lisbeth]: sorry nth 3 2016-08-02T10:37:41Z pierpa: you mean B 2016-08-02T10:37:47Z John[Lisbeth]: ^ 2016-08-02T10:37:48Z emaczen joined #lisp 2016-08-02T10:37:55Z pierpa: then ok 2016-08-02T10:39:54Z John[Lisbeth]: The way my brain wants to write it is (nth 3 (cons 'a (cons 'b #1#))) 2016-08-02T10:39:54Z IPmonger joined #lisp 2016-08-02T10:40:13Z hiyosi joined #lisp 2016-08-02T10:40:40Z pierpa: #1# is a label that you must define before you use it 2016-08-02T10:40:55Z John[Lisbeth]: How can I define it? 2016-08-02T10:41:21Z pierpa: the place where you read about #1# should explain how to use it, no? 2016-08-02T10:41:42Z John[Lisbeth]: I tried running that but it seemed to run forever without printing anything so I c-c c-c in emacs 2016-08-02T10:41:46Z John[Lisbeth]: then I get an error 2016-08-02T10:42:00Z pierpa: #1=(a b . #1#) 2016-08-02T10:42:50Z pierpa: do a (setq *print-citcle* t) before you try that 2016-08-02T10:42:53Z John[Lisbeth]: What confuses me about that syntax is I can't run (nth 3 (#1=(a b . #1#))) 2016-08-02T10:42:58Z pierpa: *print-circle* 2016-08-02T10:42:59Z emaczen quit (Ping timeout: 260 seconds) 2016-08-02T10:43:48Z John[Lisbeth]: set 2016-08-02T10:44:06Z pierpa: you should clear up more basic things before playing with circular data structures 2016-08-02T10:44:16Z John[Lisbeth]: It is the next thing to learn in gentle 2016-08-02T10:44:24Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T10:44:28Z hiyosi quit (Ping timeout: 258 seconds) 2016-08-02T10:44:55Z pierpa: then you didn't get the previous ones 2016-08-02T10:46:10Z edgar-rft joined #lisp 2016-08-02T10:47:41Z John[Lisbeth]: I'm not sure that's the case. I have a file where I have running examples of each of the previous examples in the book 2016-08-02T10:47:57Z John[Lisbeth]: I just don't understand this new hash syntax 2016-08-02T10:48:09Z John[Lisbeth]: or why I am using the = symbol 2016-08-02T10:48:55Z grouzen quit (Ping timeout: 252 seconds) 2016-08-02T10:49:09Z IPmonger joined #lisp 2016-08-02T10:50:45Z John[Lisbeth]: In my mind the way it should be done is with a function or a macro using polish notation 2016-08-02T10:51:21Z pierpa: uh? 2016-08-02T10:51:44Z stardiviner joined #lisp 2016-08-02T10:52:01Z John[Lisbeth]: In haskell there is some function (I think called repeat or cycle) where you can just give it a list and it will do the same thing as this fancy hash syntax 2016-08-02T10:52:11Z przl quit (Ping timeout: 250 seconds) 2016-08-02T10:52:43Z pierpa: you can write the same function in cl 2016-08-02T10:53:19Z John[Lisbeth]: Does that function already exist? 2016-08-02T10:53:38Z pierpa: all functions exist :) 2016-08-02T10:53:48Z John[Lisbeth]: *many 2016-08-02T10:54:05Z John[Lisbeth]: I suppose I should ask if it is implemented what is it called 2016-08-02T10:54:08Z pierpa: all of them. the one you want is (defun cycle (list) (setf (cdr (last list)) list)) 2016-08-02T10:54:35Z John[Lisbeth]: what does setf do? 2016-08-02T10:55:14Z Karl_Dscc joined #lisp 2016-08-02T10:55:22Z pierpa: use this one then: (defun cycle (list) (rplacd (last list) list)) 2016-08-02T10:55:36Z jdz: what does rplacd do? 2016-08-02T10:55:38Z ggole: Haskell's cycle is different because haskell values are not mutable 2016-08-02T10:56:04Z ggole: In Lisp, you just mutate away - very straightforward 2016-08-02T10:56:48Z stardiviner quit (Ping timeout: 244 seconds) 2016-08-02T10:57:13Z grouzen joined #lisp 2016-08-02T10:59:41Z John[Lisbeth]: (cycle (list 'A 'B 'C)) => #1=(A B C . #1#). (nth 3 (cycle (list 'A 'B 'C))) => A. (nth 3 (#1=(A B C . #1#))) => compiler error 2016-08-02T10:59:58Z stardiviner joined #lisp 2016-08-02T11:00:46Z pierpa: see? that's what I mean when I told you you should go back and learn the basics first 2016-08-02T11:01:00Z John[Lisbeth]: I have covered the previous material in gentle introduction 2016-08-02T11:01:13Z pierpa: no 2016-08-02T11:01:18Z John[Lisbeth]: orly? 2016-08-02T11:01:49Z John[Lisbeth]: I typed ctrl + f # RET in my pdf reader 2016-08-02T11:02:13Z John[Lisbeth]: The first instance is when gentle introduces #1=(A B C . #1#) 2016-08-02T11:02:20Z John[Lisbeth]: there are no previous instances explaining what it means 2016-08-02T11:02:30Z theBlackDragon quit (Ping timeout: 276 seconds) 2016-08-02T11:02:46Z pierpa: if input to your compiler (a b c) wht it does? 2016-08-02T11:02:52Z John[Lisbeth]: error 2016-08-02T11:03:05Z pierpa: do you understand why? 2016-08-02T11:03:15Z John[Lisbeth]: It is not valid list syntax 2016-08-02T11:03:45Z pierpa: why do you expect (#1=(a b)) to be valid? 2016-08-02T11:04:03Z John[Lisbeth]: Because that is how it would need to work to be homoiconic in my mind 2016-08-02T11:04:04Z pierpa: btw, it is perfectly valid list syntax 2016-08-02T11:04:19Z pierpa: lunch time. later. 2016-08-02T11:05:15Z jdz: if only code would change it's semantics by wishful thinking of people... 2016-08-02T11:06:44Z sjl joined #lisp 2016-08-02T11:07:56Z theBlackDragon joined #lisp 2016-08-02T11:08:21Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T11:10:58Z ggole: John[Lisbeth]: if you want to use the output of the reader as a constant list, you typically have to quote 2016-08-02T11:11:22Z ggole: Figure out how to do that with the cycle syntax and you should be able to progress. 2016-08-02T11:12:09Z IPmonger joined #lisp 2016-08-02T11:13:59Z edgar-rft quit (Quit: edgar-rft) 2016-08-02T11:14:00Z John[Lisbeth]: Do you mean (quote #1=(A B C . #1#)) ? 2016-08-02T11:14:29Z malice`: John[Lisbeth]: When you got s-expression, the first thing should be a symbol that translates to function, macro or special operator. (#1=(A B C . #1#)) shouldn't work because it is not a call to a function, macro or special operator 2016-08-02T11:14:41Z malice`: I am referring to your previous mesage, not the one above. 2016-08-02T11:15:31Z malice`: (#1=(A B . #1#)) would not work in the same way ("johhny") would not work 2016-08-02T11:15:45Z malice`: Try putting what you just posted(the quote thing) into your REPL 2016-08-02T11:16:27Z malice`: (btw. (quote thing) and 'thing bear the same meaning) 2016-08-02T11:18:16Z przl joined #lisp 2016-08-02T11:20:16Z John[Lisbeth]: What confuses me is that I can pass (cycle (list 'a 'b 'c)) into nth, but I can't pass #1=(A B C . #1#) into nth 2016-08-02T11:20:21Z emaczen joined #lisp 2016-08-02T11:20:29Z John[Lisbeth]: so I need some function that can accept #1(A B C . #1#) 2016-08-02T11:21:21Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T11:21:26Z malice`: John[Lisbeth]: you can 2016-08-02T11:21:46Z John[Lisbeth]: It's a useeless piece of syntax to me if I don't know how to pass it into something 2016-08-02T11:21:50Z malice`: How would you pass (list 'a 'b 'c) in raw form, without creating it from scratch, to nth? 2016-08-02T11:21:54Z jackdaniel: John[Lisbeth]: learn the basics (by reading), then tinker with egzotic stuff like that, not the other way around 2016-08-02T11:22:25Z John[Lisbeth]: There are no previous entries explaining the # syntax 2016-08-02T11:22:33Z malice`: John[Lisbeth]: this is irrelevant. 2016-08-02T11:22:43Z John[Lisbeth]: I will skip this section then 2016-08-02T11:22:46Z malice`: How would you pass result of (list 'a 'b 'c) into nth? 2016-08-02T11:22:57Z malice`: (A B C) 2016-08-02T11:23:02Z malice`: how would you pass that to nth? 2016-08-02T11:23:10Z John[Lisbeth]: good question 2016-08-02T11:23:16Z John[Lisbeth]: I don't know 2016-08-02T11:23:32Z malice`: In the same way as you would pass #1=(A B C . #1#) 2016-08-02T11:23:42Z John[Lisbeth]: Well I can write (nth 2 (quote (A B C))) 2016-08-02T11:23:51Z malice`: try the same with circular list 2016-08-02T11:23:58Z John[Lisbeth]: but I can't write (nth 2 (quote #1=(A B C . #1#))) 2016-08-02T11:24:17Z malice`: Why not? 2016-08-02T11:24:29Z John[Lisbeth]: Maybe I had a typo the last time I tried it 2016-08-02T11:24:41Z John[Lisbeth]: works now 2016-08-02T11:24:41Z przl quit (Ping timeout: 250 seconds) 2016-08-02T11:24:42Z John[Lisbeth]: ty 2016-08-02T11:24:53Z malice`: Lisp is consistent in its syntax 2016-08-02T11:24:58Z John[Lisbeth]: I don't disagree 2016-08-02T11:25:09Z John[Lisbeth]: But I still have to have evidence for that even though I know it to be true 2016-08-02T11:25:13Z malice`: It's (common lisp) sometimes inconsistent in the order of argument passing 2016-08-02T11:25:23Z malice`: but that's other story 2016-08-02T11:25:30Z malice`: And as I said, you can use ' instead of quote 2016-08-02T11:25:38Z malice`: '(A B C) = (quote (A B C) 2016-08-02T11:25:39Z John[Lisbeth]: I choose to use polish notation 2016-08-02T11:25:45Z malice`: ? 2016-08-02T11:25:49Z emaczen quit (Ping timeout: 258 seconds) 2016-08-02T11:25:59Z IPmonger joined #lisp 2016-08-02T11:26:01Z John[Lisbeth]: I don't like special syntax. I like things to be very very regular 2016-08-02T11:26:25Z malice`: What are you referring to right now? 2016-08-02T11:26:26Z John[Lisbeth]: The reason I am learning gentle intro to lisp is so I can take regular lisp syntax from the hyperspec and transform it into polish notation in my head 2016-08-02T11:26:45Z John[Lisbeth]: '(1 2 3) => (quote 1 2 3) 2016-08-02T11:26:57Z John[Lisbeth]: #'not => (function not) 2016-08-02T11:27:42Z malice`: Yes, these are equal. 2016-08-02T11:27:56Z John[Lisbeth]: In my style I would use the forms on the right and not the left 2016-08-02T11:28:10Z John[Lisbeth]: unless I was using a domain specific language 2016-08-02T11:28:37Z malice`: It comes down to your preference. I prefer #' as it's much shorter and as readable, but some people use (function ...) or (quote ...). it doesn't really matter. 2016-08-02T11:28:48Z John[Lisbeth]: true 2016-08-02T11:28:54Z malice`: Anyway, Lisp isn't really about polish notation, and some things are better without it 2016-08-02T11:29:10Z John[Lisbeth]: Thats what I think domain specific languages are for 2016-08-02T11:29:20Z malice`: I guess that most of us like lisp because of its power, not because of the overwhelming amount of parenthesis :) 2016-08-02T11:29:29Z John[Lisbeth]: I love parentheses 2016-08-02T11:29:35Z John[Lisbeth]: I quit haskell because I wanted more parentheses 2016-08-02T11:29:42Z John[Lisbeth]: I think ((((((1)))))) should => 1 2016-08-02T11:29:56Z malice`: It doesn't work that way 2016-08-02T11:30:05Z John[Lisbeth]: I may be naive in that belief 2016-08-02T11:30:05Z malice`: Parentheses are there to represent some structure, not obfuscate code 2016-08-02T11:30:13Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T11:30:16Z malice`: But you will se this by yourself. Glad I could help you. 2016-08-02T11:30:23Z John[Lisbeth]: thanks 2016-08-02T11:31:26Z Zhivago: malice: You may be optimistic. 2016-08-02T11:33:47Z stardiviner quit (Ping timeout: 265 seconds) 2016-08-02T11:35:10Z IPmonger joined #lisp 2016-08-02T11:36:00Z hhdave joined #lisp 2016-08-02T11:39:31Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T11:40:13Z IPmonger joined #lisp 2016-08-02T11:44:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T11:47:25Z m00natic quit (Remote host closed the connection) 2016-08-02T11:48:57Z IPmonger joined #lisp 2016-08-02T11:50:46Z m00natic joined #lisp 2016-08-02T11:53:34Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T11:56:12Z Habens quit (Remote host closed the connection) 2016-08-02T11:57:14Z Habens joined #lisp 2016-08-02T11:57:15Z Habens quit (Remote host closed the connection) 2016-08-02T11:58:06Z IPmonger joined #lisp 2016-08-02T12:02:22Z e quit (Quit: edk) 2016-08-02T12:02:24Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T12:02:36Z e joined #lisp 2016-08-02T12:02:37Z Beetny quit (Ping timeout: 252 seconds) 2016-08-02T12:05:21Z flamebeard quit (Quit: Leaving) 2016-08-02T12:06:23Z roscoe_tw quit (Remote host closed the connection) 2016-08-02T12:06:35Z roscoe_tw joined #lisp 2016-08-02T12:07:15Z IPmonger joined #lisp 2016-08-02T12:07:23Z flamebeard joined #lisp 2016-08-02T12:09:33Z mvilleneuve quit (Ping timeout: 265 seconds) 2016-08-02T12:10:07Z blackwolf quit (Ping timeout: 260 seconds) 2016-08-02T12:11:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T12:12:22Z IPmonger joined #lisp 2016-08-02T12:13:48Z przl joined #lisp 2016-08-02T12:14:35Z mvilleneuve joined #lisp 2016-08-02T12:14:44Z theBlackDragon quit (Read error: Connection reset by peer) 2016-08-02T12:16:32Z przl quit (Client Quit) 2016-08-02T12:16:49Z przl joined #lisp 2016-08-02T12:17:07Z ukari quit (Ping timeout: 250 seconds) 2016-08-02T12:17:07Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T12:17:53Z theBlackDragon joined #lisp 2016-08-02T12:21:11Z IPmonger joined #lisp 2016-08-02T12:25:39Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T12:26:13Z IPmonger joined #lisp 2016-08-02T12:27:35Z dyelar joined #lisp 2016-08-02T12:27:37Z dyelar quit (Client Quit) 2016-08-02T12:36:35Z krasnal quit (Remote host closed the connection) 2016-08-02T12:39:14Z IPmonger quit (Quit: ZNC 1.6.3 - http://znc.in) 2016-08-02T12:39:28Z IPmonger joined #lisp 2016-08-02T12:40:11Z e quit (Quit: edk) 2016-08-02T12:40:30Z e joined #lisp 2016-08-02T12:42:34Z ukari joined #lisp 2016-08-02T12:44:00Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T12:45:35Z rudolfochrist joined #lisp 2016-08-02T12:48:42Z IPmonger joined #lisp 2016-08-02T12:49:57Z ukari quit (Ping timeout: 244 seconds) 2016-08-02T12:53:04Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T12:54:15Z quazimodo joined #lisp 2016-08-02T12:54:20Z quazimod1 joined #lisp 2016-08-02T12:57:52Z IPmonger joined #lisp 2016-08-02T12:58:12Z shifty quit (Ping timeout: 244 seconds) 2016-08-02T12:58:18Z cromachina quit (Read error: Connection reset by peer) 2016-08-02T13:02:21Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T13:06:58Z clog quit (Ping timeout: 252 seconds) 2016-08-02T13:07:04Z IPmonger joined #lisp 2016-08-02T13:08:31Z emaczen joined #lisp 2016-08-02T13:11:34Z shifty joined #lisp 2016-08-02T13:11:37Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T13:12:10Z IPmonger joined #lisp 2016-08-02T13:13:05Z dfigrish joined #lisp 2016-08-02T13:13:42Z atgreen joined #lisp 2016-08-02T13:14:20Z emaczen quit (Ping timeout: 250 seconds) 2016-08-02T13:16:18Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T13:16:31Z CEnnis91 joined #lisp 2016-08-02T13:20:53Z IPmonger joined #lisp 2016-08-02T13:23:06Z jerme joined #lisp 2016-08-02T13:25:09Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T13:29:08Z clog joined #lisp 2016-08-02T13:29:49Z krasnal joined #lisp 2016-08-02T13:30:08Z IPmonger joined #lisp 2016-08-02T13:33:12Z clog quit (Ping timeout: 240 seconds) 2016-08-02T13:34:41Z mathi_aihtam joined #lisp 2016-08-02T13:34:44Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T13:35:10Z IPmonger joined #lisp 2016-08-02T13:37:32Z mathi_aihtam quit (Client Quit) 2016-08-02T13:37:55Z przl_ joined #lisp 2016-08-02T13:39:12Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T13:40:40Z przl quit (Ping timeout: 264 seconds) 2016-08-02T13:41:37Z Habens joined #lisp 2016-08-02T13:43:52Z IPmonger joined #lisp 2016-08-02T13:44:25Z Habens quit (Client Quit) 2016-08-02T13:45:47Z _sjs quit (Ping timeout: 258 seconds) 2016-08-02T13:46:42Z warweasle joined #lisp 2016-08-02T13:48:19Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T13:49:39Z rudolfochrist quit (Ping timeout: 264 seconds) 2016-08-02T13:53:07Z IPmonger joined #lisp 2016-08-02T13:53:55Z StephanLahl quit (Remote host closed the connection) 2016-08-02T13:54:34Z Jesin joined #lisp 2016-08-02T13:54:53Z mr_yogurt_ quit (Ping timeout: 244 seconds) 2016-08-02T13:55:44Z DavidGu quit (Quit: DavidGu) 2016-08-02T13:56:08Z Munksgaard quit (Quit: Leaving.) 2016-08-02T13:58:55Z impaktor joined #lisp 2016-08-02T14:02:10Z attila_lendvai joined #lisp 2016-08-02T14:02:10Z attila_lendvai quit (Changing host) 2016-08-02T14:02:10Z attila_lendvai joined #lisp 2016-08-02T14:02:19Z IPmonger quit (Quit: ZNC 1.6.3 - http://znc.in) 2016-08-02T14:02:35Z IPmonger joined #lisp 2016-08-02T14:02:39Z ukari joined #lisp 2016-08-02T14:04:09Z pierpa quit (Ping timeout: 250 seconds) 2016-08-02T14:08:41Z eudoxia joined #lisp 2016-08-02T14:10:54Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T14:12:52Z clog joined #lisp 2016-08-02T14:14:44Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-02T14:16:07Z IPmonger joined #lisp 2016-08-02T14:17:03Z al-damiri joined #lisp 2016-08-02T14:20:00Z oleo joined #lisp 2016-08-02T14:20:01Z oleo quit (Changing host) 2016-08-02T14:20:01Z oleo joined #lisp 2016-08-02T14:20:32Z flamebeard quit (Quit: Leaving) 2016-08-02T14:20:40Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-02T14:21:10Z IPmonger joined #lisp 2016-08-02T14:23:41Z phoe: John[Lisbeth]: read about the evaluation rule in Common Lisp 2016-08-02T14:24:30Z phoe: also, when you evaluate a list in Common Lisp, integers cannot be bound to functions. 2016-08-02T14:25:21Z phoe: They aren't symbols. 2016-08-02T14:25:57Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T14:26:23Z phoe: Therefore evaluating (1) would mean calling a function 1, which does not make sense in Common Lisp and results in an error. 2016-08-02T14:26:44Z Anselmo quit (Quit: WeeChat 1.5) 2016-08-02T14:27:00Z Grue``: well, that is certainly the case with one, but with, say, 9? Not necessarily. 2016-08-02T14:27:14Z phoe: Grue``: what do you mean? (eval ' 2016-08-02T14:27:16Z Grue``: because radix of the reader might be set to less than 10 2016-08-02T14:27:21Z phoe: (eval '(9)) is an error as well. 2016-08-02T14:27:35Z Grue``: yeah, but you're reading in base 10 2016-08-02T14:27:54Z Grue``: in base 8, 9 is a great symbol name ;) 2016-08-02T14:28:03Z Jesin quit (Ping timeout: 264 seconds) 2016-08-02T14:28:06Z phoe: Heh, I see. I don't think Lisp is base-8 by default though. 2016-08-02T14:28:10Z phoe: Or anything other than base-10. 2016-08-02T14:28:16Z Grue``: that can be configured 2016-08-02T14:28:31Z phoe: You *do* have functionalities like *READ-BASE* to tweak this. 2016-08-02T14:29:15Z jdz: what do you mean -- base 8 is not the default? 2016-08-02T14:29:16Z jdz: http://www.nhplace.com/kent/PS/Ambitious.html 2016-08-02T14:29:18Z Grue``: my point exactly 2016-08-02T14:29:26Z Grue``: clhs *read-base* 2016-08-02T14:29:26Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/v_rd_bas.htm 2016-08-02T14:29:36Z phoe: But this doesn't mean that (let ((*read-base* 2)) (3)) will ever succeed. 2016-08-02T14:29:42Z phoe: jdz: I've read that one. 2016-08-02T14:29:49Z phoe: It's all about timing basically. 2016-08-02T14:29:51Z saturniid joined #lisp 2016-08-02T14:29:54Z IPmonger joined #lisp 2016-08-02T14:30:05Z phoe: This stuff is read and number parsing occurs before *READ-BASE* is bound. 2016-08-02T14:30:26Z phoe: You'd need to (let ((*read-base* 8)) (read-from-string "10")) or something. 2016-08-02T14:30:37Z phoe: Oh yes, that works. 2016-08-02T14:31:00Z Grue``: or (setf *read-base* 8) in your .sbclrc 2016-08-02T14:31:19Z phoe: Grue``: a pretty great way to confuse everyone, including yourself. 2016-08-02T14:31:24Z jdz: i might got the wrong article though... there was another one, describing how in the "old days" one would have to type 10. instead of just 10 to get a decimal 10 because the default read base was 8... 2016-08-02T14:32:16Z phoe: jdz: wow. I don't know that one. 2016-08-02T14:32:59Z Grue``: there are some languages where if you start your number with 0, it is read in base 8 2016-08-02T14:33:14Z phoe: Grue``: C 2016-08-02T14:33:16Z jdz: it might also be the case that this is the article, and my memory is inventing things as it goes 2016-08-02T14:33:18Z phoe: as a good example 2016-08-02T14:33:38Z phoe: there was this fun thing where people were hardcoding zipcodes in C 2016-08-02T14:33:42Z jdz: shells do that as well 2016-08-02T14:33:49Z phoe: and there were 27831, 20999, 01843, 74682 and alike 2016-08-02T14:33:49Z jdz: i think 2016-08-02T14:34:12Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T14:34:13Z phoe: with the third one blowing things up because it was interpreted in octal. 2016-08-02T14:34:56Z IPmonger joined #lisp 2016-08-02T14:35:05Z jdz: nah, scratch the shells 2016-08-02T14:35:56Z phoe: John[Lisbeth]: summing up, two things. First, numbers *cannot* be fbound. Second, evaluating *any* S-expression that starts with "(((" in Common Lisp is an illegal function call.* 2016-08-02T14:36:04Z phoe: *I actually dare to make that statement. 2016-08-02T14:37:43Z jackdaniel: (defun |3| () 'hueh) 2016-08-02T14:38:15Z phoe: jackdaniel: (symbolp '|3|) ;=> T 2016-08-02T14:38:17Z phoe: ,he 2016-08-02T14:38:19Z phoe: ,hue 2016-08-02T14:39:16Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T14:40:02Z malice`: damn it 2016-08-02T14:40:04Z malice`: I was close 2016-08-02T14:40:28Z malice`: ((lambda (x) (+ x x) 1) => 2 2016-08-02T14:40:42Z malice`: but (((lambda (x) (lambda (y) (+ x y)) 1) 2) => error 2016-08-02T14:40:43Z malice`: :( 2016-08-02T14:40:47Z phoe: malice`: :D 2016-08-02T14:40:57Z John[Lisbeth]: I'll get it eventually. Its just going to take me longer than the aerage lisp programmer because for the average lisp programmer lisp was not their first language 2016-08-02T14:41:08Z phoe: John[Lisbeth]: nah, I don't think so 2016-08-02T14:41:19Z John[Lisbeth]: So most lisp programmers begin by learning lisp then learn other languages? 2016-08-02T14:41:20Z malice`: but I hope I'll get there somehow 2016-08-02T14:41:22Z phoe: might take longer, might take shorter, I don't know and cannot say anything for sure 2016-08-02T14:41:42Z emaczen joined #lisp 2016-08-02T14:41:43Z phoe: John[Lisbeth]: Lisp isn't a very popular language at corporations/schools/universities/wherever they teach programming 2016-08-02T14:41:59Z John[Lisbeth]: yeah everybody gushes over the c based languages 2016-08-02T14:42:01Z phoe: so the majority of people gets introduced to some variant of PyJ++ 2016-08-02T14:42:04Z dlowe: My ad hoc observation is that lisp is considerably easier to teach to people who never programmed before. 2016-08-02T14:42:13Z dlowe: Just because there's a lot less to learn 2016-08-02T14:42:17Z shifty quit (Quit: Leaving) 2016-08-02T14:42:18Z phoe: dlowe: I agree on that one actually. 2016-08-02T14:42:26Z John[Lisbeth]: You can teach people lisp syntax just by showin them algebra calculations 2016-08-02T14:42:27Z dxtr quit (Ping timeout: 264 seconds) 2016-08-02T14:42:31Z phoe: Touretzky's "Gentle (...)" does a wonderful job at that 2016-08-02T14:42:34Z dlowe: well, it's not just theory, I've taught people 2016-08-02T14:42:54Z John[Lisbeth]: I have tried to teach people programming too and I have alot easier time with lisp than with something like C++ or bash 2016-08-02T14:43:12Z John[Lisbeth]: People who know algebra at least pick up on it quickly 2016-08-02T14:43:36Z IPmonger joined #lisp 2016-08-02T14:43:43Z phoe: John[Lisbeth]: :D 2016-08-02T14:43:51Z John[Lisbeth]: I think we need a learn you a haskell for common lisp 2016-08-02T14:44:27Z phoe: John[Lisbeth]: actually, the Lisp shown in The Roots Of Lisp does implement a basic form of a lambda calculus 2016-08-02T14:44:32Z dxtr joined #lisp 2016-08-02T14:44:40Z phoe: and Haskell is an implementation of typed lambda calculus at its core. 2016-08-02T14:44:56Z John[Lisbeth]: I never read learn you a haskell all the way through because I discovered half way along it was not lisp 2016-08-02T14:45:04Z John[Lisbeth]: but then I found lisp and I was fine 2016-08-02T14:45:27Z phoe: John[Lisbeth]: IMO learning Haskell is completely fine nonetheless. It does have a few head-blowing moments just like Lisp during learning. 2016-08-02T14:45:51Z John[Lisbeth]: I think lisp still has some surprises for me even if I know functional programming. Supposedly macros and s expressions are the bees knees 2016-08-02T14:45:54Z phoe: It was amusing to write a basicmost Lisp interpreter in Haskell, too, just to get the idea of how to work with purely functional languages. 2016-08-02T14:46:19Z jdz: John[Lisbeth]: are you saying Lisp is your first programming language? 2016-08-02T14:46:41Z John[Lisbeth]: technically. I have been using linux for six years though and have installed arch and learned emacs and things 2016-08-02T14:46:52Z John[Lisbeth]: I never learned any langauge all the way through because in short I discovered it was not lisp 2016-08-02T14:47:01Z oleo: heh 2016-08-02T14:47:04Z jdz: and are you also saying you're teaching programming to other people? 2016-08-02T14:47:11Z John[Lisbeth]: Yeah 2016-08-02T14:47:21Z John[Lisbeth]: Just the very basics 2016-08-02T14:48:01Z John[Lisbeth]: It's hard for people to imagine that I know programming when I never learned a language all the way through but I can say beyond a doubt I know the concept of programming well 2016-08-02T14:48:06Z phoe: Haskell is like a diamond in this case. It's there, it's pure, it's shiny, it's perfect, but you cannot add anything to it because it'll stick out as something that doesn't suit it very well. 2016-08-02T14:48:12Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T14:48:36Z phoe: And Lisp is like a ball of mud. You slice it open, it's mud inside, and you can shape it all the way into your favorite and most suiting form. You can even add more mud to it, and well, it's still mud. 2016-08-02T14:48:41Z John[Lisbeth]: If haskell can achieve lispness with their rigid type system I will give a dang about haskell 2016-08-02T14:49:18Z John[Lisbeth]: You coud make a rigid type sytem in lisp from what I understood, but as soon as you left that environment that you created you would lose your typechecking 2016-08-02T14:49:48Z John[Lisbeth]: so I see haskell as a subset of what lisp can do 2016-08-02T14:49:57Z phoe: Haskell requires homoiconicity in order to become a Lisp. You might want to look at Shen. 2016-08-02T14:50:14Z John[Lisbeth]: Shen is nice but I feel like we need to band together thus common lisp 2016-08-02T14:50:29Z John[Lisbeth]: also I think imperative programming should not be ignored 2016-08-02T14:50:38Z phoe: John[Lisbeth]: well, CL can't be Haskell and Haskell can't be CL. 2016-08-02T14:50:58Z John[Lisbeth]: CL can't be exactly haskell but you coud make optomizations and tradeoffs in order to get alot of the main benefits of haksell 2016-08-02T14:51:12Z John[Lisbeth]: whereas haskell can't nearly do waht lisp can do 2016-08-02T14:51:19Z John[Lisbeth]: aside from bootstrapping lisp 2016-08-02T14:51:55Z John[Lisbeth]: And I feel after using haskell that although there are few wats, it's complex syntax makes it feel not very homoiconic 2016-08-02T14:52:10Z phoe: Not so complex. 2016-08-02T14:52:18Z John[Lisbeth]: Maybe to a seasoned programmer 2016-08-02T14:52:49Z adolf_stalin joined #lisp 2016-08-02T14:52:50Z IPmonger joined #lisp 2016-08-02T14:52:58Z phoe: All you have there is either declaring types or telling what a function does by means of examples and conjoining more functions. And pattern matching which is already common in Lisps. 2016-08-02T14:52:59Z John[Lisbeth]: I am slowly thinking about what toy lisp I am going to make, and I am going to take common lisp I think and rip out alot of the extra syntax 2016-08-02T14:53:36Z John[Lisbeth]: I think haskell is realy along the same vein as perl as are all non-lisps 2016-08-02T14:53:42Z John[Lisbeth]: very ugly languages 2016-08-02T14:53:42Z jdz: phoe: pattern matching is common in Lisps? 2016-08-02T14:53:59Z John[Lisbeth]: you can just have a function that takes two strings. One for the pattern match and one to apply the pattern to 2016-08-02T14:54:28Z phoe: jdz: I mean these syntax macros where you can define the outcome by comparing the input to a set of cases. 2016-08-02T14:54:39Z rudolfochrist joined #lisp 2016-08-02T14:54:46Z phoe: I saw them around a few times, they're much more popular in Scheme than in CL which doesn't mean CL can't do it. 2016-08-02T14:54:52Z eivarv joined #lisp 2016-08-02T14:55:25Z John[Lisbeth]: CL could do pretty much anything scheme or shen could do and visa versa if you added it to scheme/shen yourself 2016-08-02T14:55:42Z phoe: Also CL does implement a subset of it if you decide that you want to (ab)use CLOS's specialization. 2016-08-02T14:56:43Z phoe: But that's fairly dirty and not too easy now that I think of it. 2016-08-02T14:56:54Z Karl_Dscc quit (Remote host closed the connection) 2016-08-02T14:57:16Z IPmonger quit (Ping timeout: 265 seconds) 2016-08-02T14:57:32Z Jesin joined #lisp 2016-08-02T14:58:15Z Jesin quit (Max SendQ exceeded) 2016-08-02T14:59:04Z Jesin joined #lisp 2016-08-02T15:00:55Z zacharias quit (Ping timeout: 250 seconds) 2016-08-02T15:01:08Z Jesin quit (Max SendQ exceeded) 2016-08-02T15:01:54Z Jesin joined #lisp 2016-08-02T15:02:05Z IPmonger joined #lisp 2016-08-02T15:02:18Z John[Lisbeth]: What is so great about common lisp is that there are certain problems which are problems in other langauges that are not problems in lisp, and anyone in here who knows lisp can sort of agree on certain things. 2016-08-02T15:02:24Z John[Lisbeth]: So there's alot less bickering in this channel 2016-08-02T15:02:46Z John[Lisbeth]: We kind of all know internaly the magic of lisp but can not voice it to someone who does not know lisp 2016-08-02T15:03:37Z John[Lisbeth]: moreover common lisp people tend to believe in the power of community and open source, and that fragmentation of languages is a problem 2016-08-02T15:03:50Z Jesin quit (Max SendQ exceeded) 2016-08-02T15:04:14Z Jesin joined #lisp 2016-08-02T15:04:53Z jdz: John[Lisbeth]: you don't even know the basic evaluation rules of lisp -- what are you talking about? 2016-08-02T15:05:08Z John[Lisbeth]: I take it you do not feel the same way? 2016-08-02T15:05:59Z jdz: John[Lisbeth]: what is this "magic of lisp" you're talking about? 2016-08-02T15:06:11Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T15:06:23Z John[Lisbeth]: I can't explain what it is, but internally I know lisp is the most correct way of doing programming I have come accross. 2016-08-02T15:06:39Z John[Lisbeth]: I think it is because of lambda calculus but I am not sure 2016-08-02T15:06:43Z jdz: yet you can't write the simplest of lisp programs... 2016-08-02T15:06:52Z John[Lisbeth]: That's a little bit of a stretch 2016-08-02T15:07:31Z jdz: lisp has nothing to do with lambda calculus 2016-08-02T15:07:37Z John[Lisbeth]: everything is relative 2016-08-02T15:08:12Z John[Lisbeth]: barack obama is relative to my left toenail 2016-08-02T15:08:20Z Grue``: the most correct way of programming is the one that yields working code 2016-08-02T15:08:31Z John[Lisbeth]: arguably 2016-08-02T15:08:51Z gravicappa quit (Ping timeout: 276 seconds) 2016-08-02T15:09:41Z John[Lisbeth]: I simply did not find other languages worth writing working code in. 2016-08-02T15:09:53Z John[Lisbeth]: If I had found lisp six years ago I would have learned lisp all the way through then 2016-08-02T15:10:10Z jdz: you have a chance to do in now, though! 2016-08-02T15:10:19Z John[Lisbeth]: What do you think I'm doing right now? 2016-08-02T15:10:30Z jdz: you're spouting nonsense and not learning anything 2016-08-02T15:10:35Z larsen joined #lisp 2016-08-02T15:10:45Z Grue``: knowing at least one programming language helps A LOT though 2016-08-02T15:10:48Z John[Lisbeth]: "not learning anything" 2016-08-02T15:10:55Z Grue``: when learning Lisp, or whatever 2016-08-02T15:11:12Z IPmonger joined #lisp 2016-08-02T15:11:16Z John[Lisbeth]: That is what I was saying ealier. Most people who discover lisp it was not their first language 2016-08-02T15:11:38Z jdz: Which has nothing to do with you learning it. 2016-08-02T15:11:49Z John[Lisbeth]: Do you understand the theory of relativity? 2016-08-02T15:11:54Z John[Lisbeth]: at least in synopsis? 2016-08-02T15:12:02Z dfigrish quit (Ping timeout: 244 seconds) 2016-08-02T15:12:08Z Grue``: there's no reason for CL to be somebody's first language. it's kind of hard to get into. 2016-08-02T15:12:14Z jdz: My understanding of theory of relativity has nothing to do with you learning lisp. 2016-08-02T15:12:31Z Urchin: there are some who did have lisp as their first programming language, but that's rare 2016-08-02T15:12:34Z John[Lisbeth]: WHen you say "has nothing to do with" in a sentence, I know your sentence is probably invalid 2016-08-02T15:12:59Z jdz: Yes, and that is off-topic. 2016-08-02T15:13:03Z yeticry quit (Ping timeout: 250 seconds) 2016-08-02T15:13:03Z Grue``: most of programming techniques are applicable in all languages 2016-08-02T15:13:11Z kobain joined #lisp 2016-08-02T15:13:17Z jdz: John[Lisbeth]: do you have any more lisp questions we can help you with? 2016-08-02T15:13:19Z John[Lisbeth]: ok so stop attacking me then lets just call the dead horse beat 2016-08-02T15:13:32Z emaczen quit (Ping timeout: 240 seconds) 2016-08-02T15:13:53Z yeticry joined #lisp 2016-08-02T15:14:39Z mathi_aihtam joined #lisp 2016-08-02T15:15:40Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T15:16:13Z sjl quit (Read error: Connection reset by peer) 2016-08-02T15:16:14Z mathi_aihtam quit (Client Quit) 2016-08-02T15:16:18Z mishoo joined #lisp 2016-08-02T15:16:29Z zacharias joined #lisp 2016-08-02T15:16:30Z eudoxia quit (Quit: Leaving) 2016-08-02T15:17:23Z alphor quit (Ping timeout: 250 seconds) 2016-08-02T15:17:45Z shka quit (Quit: Konversation terminated!) 2016-08-02T15:19:15Z alphor joined #lisp 2016-08-02T15:20:24Z Karl_Dscc joined #lisp 2016-08-02T15:20:26Z IPmonger joined #lisp 2016-08-02T15:24:27Z jfrancis: I find myself doing this a lot: (remove nil (map 'list (lambda (n) (if (foo n) n nil)) *list-of-stuff*)). Is that the "right" way to do that? Is there a better/cleaner/canonical way to do it? 2016-08-02T15:24:46Z dlowe: don't put nils in your list. 2016-08-02T15:24:52Z dlowe: use mapcan 2016-08-02T15:24:56Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T15:25:18Z jfrancis: Ah. Thanks! 2016-08-02T15:25:29Z dlowe: with mapcan, your function returns a list that is appended to the result, so you can return an empty list and nothing will be appended 2016-08-02T15:25:32Z IPmonger joined #lisp 2016-08-02T15:25:51Z dlowe: see also: undescriptive, undiscoverable names in CL 2016-08-02T15:25:58Z jfrancis: heh heh 2016-08-02T15:27:46Z mathi_aihtam joined #lisp 2016-08-02T15:29:47Z jdz: there's also MAPCAR 2016-08-02T15:30:29Z jdz: (to use instead of (map 'list function a-list)) 2016-08-02T15:30:42Z mathi_aihtam quit (Client Quit) 2016-08-02T15:31:32Z jdz: and then there's always LOOP: (loop for n in *list-of-stuff* if (foo n) collect n) 2016-08-02T15:32:11Z anunnaki quit (Ping timeout: 244 seconds) 2016-08-02T15:33:25Z jackdaniel quit (Ping timeout: 250 seconds) 2016-08-02T15:34:04Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T15:36:00Z Grue``: jfrancis: isn't it just (remove-if-not 'foo *list-of-stuff*) ? 2016-08-02T15:38:50Z IPmonger joined #lisp 2016-08-02T15:38:58Z prole joined #lisp 2016-08-02T15:42:04Z jfrancis: I didn't think of remove-if-not. Has anybody ever noticed (rhetorical, obviously) there are almost too many ways to skin the cat with CL? 2016-08-02T15:42:06Z ramky quit (Quit: Leaving) 2016-08-02T15:43:01Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T15:43:40Z Grue``: well, there's one function that does exactly what you want, and a bunch of more general ways to do the same thing 2016-08-02T15:44:25Z jfrancis: I originally started poking at Lisp in the late 80s. And I still learn something new every time I touch it. 2016-08-02T15:45:30Z malice`: I think that it's only natural that you have several ways to do something in a language, e.g. your example. 2016-08-02T15:46:09Z malice`: The moment you start enforcing something, you either cut off some abstractions or try to tell people that some abstractions are better than other(and therefore usually try to make other abstractions harder to use) 2016-08-02T15:46:39Z malice`: "There's only one way to do it" is a really bad idea imho 2016-08-02T15:47:19Z malice`: Thus I don't really like python /rant 2016-08-02T15:47:39Z Grue``: in python there are also many ways to do it though 2016-08-02T15:47:40Z przl_ quit (Ping timeout: 244 seconds) 2016-08-02T15:48:03Z IPmonger joined #lisp 2016-08-02T15:48:07Z mathi_aihtam joined #lisp 2016-08-02T15:50:00Z malice`: Grue``: https://wiki.python.org/moin/TOOWTDI 2016-08-02T15:50:30Z malice`: This is what I'm talking about. Of course you've got more ways to do some things - it's really hard to make "only one way to do something" really work. 2016-08-02T15:50:39Z malice`: But the very idea behind it is imho bad 2016-08-02T15:51:15Z malice`: and some things are just wrong in Python 2016-08-02T15:51:29Z malice`: there's like one way to do it, and this way stinks too 2016-08-02T15:52:37Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T15:53:09Z IPmonger joined #lisp 2016-08-02T15:54:21Z Grue``: malice`: I'm actually a Python programmer too. in practice this rule is not followed, at all. like, there are several ways to format a string versus one FORMAT in CL. there are two different class systems versus one CLOS. and so on. 2016-08-02T15:55:06Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-02T15:55:23Z malice`: I noticed that myself. Nevertheless the more I write in Python, the more I dislike it (although I mostly do Python2.7, and Python3 improves a lot of things; yet I still don't like it) 2016-08-02T15:56:53Z rudolfochrist: What's the testing library du jour in CL. I'm currently using 1am and thinking about switching..... 2016-08-02T15:57:12Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T15:57:25Z malice`: e.g. I asked something about for on Python irc channel, and people were surprised that the behaviour didn't satisfy me, and only one person agreed that this is indeed something bad 2016-08-02T15:57:36Z jdz: rudolfochrist: why are you thinking of switching? 2016-08-02T15:58:32Z rudolfochrist: jdz: 1am does'tn show me my expectations. Just that on check failed. 2016-08-02T15:58:40Z jdz: malice`: do you want to know what happens when you come in here and say LOOP sucks? 2016-08-02T15:58:50Z mathi_aihtam joined #lisp 2016-08-02T15:59:03Z dlowe: nothing. LOOP continues to exist in CL. 2016-08-02T15:59:31Z rudolfochrist: jdz: What I like would be to see something like: "You wanted result to be 3 but is 5" etc. 2016-08-02T15:59:33Z quazimodo quit (Ping timeout: 276 seconds) 2016-08-02T15:59:33Z quazimod1 quit (Ping timeout: 276 seconds) 2016-08-02T15:59:34Z mishoo quit (Ping timeout: 244 seconds) 2016-08-02T16:00:08Z Grue``: rudolfochrist: I'd be surprised if any testing library cannot do this 2016-08-02T16:00:12Z jdz: rudolfochrist: i bet most testing libraries just output a dot on a successful test, but that might be configurable using verbosity setting. i have not used 1am myself. and i have not written any lisp code (that uses tests) in ages. 2016-08-02T16:00:54Z malice`: jdz: Actually I do. 2016-08-02T16:00:54Z jdz: rudolfochrist: also, i misunderstood your expectation... 2016-08-02T16:01:30Z jdz: malice`: you'll have to create a fake account and try it out, then. 2016-08-02T16:01:44Z malice`: :D 2016-08-02T16:01:45Z Grue``: in particular, I'm using lisp-unit and it definitely does. Though you need to specifically do (print-failures result) to show the failed asserts 2016-08-02T16:01:51Z IPmonger joined #lisp 2016-08-02T16:01:56Z phoe: rudolfochrist: 1am is too tiny for that 2016-08-02T16:02:08Z phoe: but you do can go (is (= 3 (some-sexp-here))) 2016-08-02T16:02:19Z phoe: and it will tell you that assertion (= 3 sdklkfsdlf) failed 2016-08-02T16:02:22Z rudolfochrist: jdz: No I think not. But 1am leaves one in the debugger. But I think this is intentionally because it aims for speed and multi threding support (if I remember correctly). 2016-08-02T16:02:34Z phoe: and yes, it does leave one in the debugger. 2016-08-02T16:02:52Z rudolfochrist: phoe: Yes 2016-08-02T16:03:18Z rudolfochrist: Amnyway, that's why I'm thinking about switching. 2016-08-02T16:03:18Z emaczen joined #lisp 2016-08-02T16:05:11Z phoe: rudolfochrist: or you could easily extend 1am with something like (expect (car x) to equal 5) 2016-08-02T16:05:18Z rudolfochrist: Prove looks kinda cool and it has TAP (not something I terribly need, but yeah) 2016-08-02T16:05:40Z phoe: which evaluates (funcall #'equal (car x) 5) with a proper assertion 2016-08-02T16:06:22Z rudolfochrist: phoe: and then? Do I get the value of (car x) in the debugger? 2016-08-02T16:07:04Z rudolfochrist: That's the point that I dislike, currently. 2016-08-02T16:09:01Z sjl joined #lisp 2016-08-02T16:09:17Z mastokley quit (Ping timeout: 260 seconds) 2016-08-02T16:09:24Z tmtwd joined #lisp 2016-08-02T16:09:45Z wildlander joined #lisp 2016-08-02T16:10:39Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T16:10:55Z shka_ joined #lisp 2016-08-02T16:11:30Z IPmonger joined #lisp 2016-08-02T16:14:45Z k` joined #lisp 2016-08-02T16:14:50Z mishoo joined #lisp 2016-08-02T16:15:24Z eivarv quit (Quit: Sleep) 2016-08-02T16:16:06Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T16:16:59Z k` left #lisp 2016-08-02T16:17:27Z msb quit (Ping timeout: 260 seconds) 2016-08-02T16:18:02Z msb joined #lisp 2016-08-02T16:19:59Z vaporatorius quit (Remote host closed the connection) 2016-08-02T16:20:13Z IPmonger joined #lisp 2016-08-02T16:24:43Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T16:25:21Z IPmonger joined #lisp 2016-08-02T16:28:37Z armin quit (Quit: relate to the matter as i drop the bomb) 2016-08-02T16:29:51Z IPmonger quit (Ping timeout: 264 seconds) 2016-08-02T16:30:24Z Jesin quit (Quit: Leaving) 2016-08-02T16:31:05Z armin joined #lisp 2016-08-02T16:32:37Z knobo quit (Ping timeout: 260 seconds) 2016-08-02T16:33:13Z eivarv joined #lisp 2016-08-02T16:34:02Z IPmonger joined #lisp 2016-08-02T16:37:00Z Jesin joined #lisp 2016-08-02T16:37:03Z hhdave quit (Ping timeout: 240 seconds) 2016-08-02T16:37:44Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-02T16:38:18Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T16:39:07Z IPmonger joined #lisp 2016-08-02T16:39:11Z Jesin quit (Max SendQ exceeded) 2016-08-02T16:40:06Z Karl_Dscc quit (Remote host closed the connection) 2016-08-02T16:42:26Z ukari quit (Ping timeout: 244 seconds) 2016-08-02T16:43:36Z IPmonger quit (Ping timeout: 265 seconds) 2016-08-02T16:44:07Z Jesin joined #lisp 2016-08-02T16:44:21Z DGASAU quit (Ping timeout: 244 seconds) 2016-08-02T16:44:42Z hiyosi joined #lisp 2016-08-02T16:45:04Z DGASAU joined #lisp 2016-08-02T16:45:32Z Jesin quit (Max SendQ exceeded) 2016-08-02T16:45:49Z MoALTz joined #lisp 2016-08-02T16:46:33Z tmtwd quit (Ping timeout: 240 seconds) 2016-08-02T16:47:48Z IPmonger joined #lisp 2016-08-02T16:48:52Z hiyosi quit (Ping timeout: 240 seconds) 2016-08-02T16:49:19Z nzambe joined #lisp 2016-08-02T16:52:03Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T16:54:19Z StephanLahl joined #lisp 2016-08-02T16:56:15Z m00natic quit (Remote host closed the connection) 2016-08-02T16:57:01Z IPmonger joined #lisp 2016-08-02T16:59:52Z vaporatorius joined #lisp 2016-08-02T16:59:52Z vaporatorius quit (Changing host) 2016-08-02T16:59:52Z vaporatorius joined #lisp 2016-08-02T17:00:28Z o`connor quit (Remote host closed the connection) 2016-08-02T17:01:40Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T17:01:47Z eivarv quit (Quit: Sleep) 2016-08-02T17:01:50Z phoe: rudolfochrist: uhh, actually 2016-08-02T17:01:59Z phoe: depends on the stuff you write 2016-08-02T17:02:06Z IPmonger joined #lisp 2016-08-02T17:02:13Z phoe: you might land in the debugger, you might get it as STDOUT output 2016-08-02T17:05:52Z mastokley joined #lisp 2016-08-02T17:07:09Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T17:07:13Z emaczen left #lisp 2016-08-02T17:07:28Z eivarv joined #lisp 2016-08-02T17:10:49Z IPmonger joined #lisp 2016-08-02T17:11:09Z phoe: depends on how you want to log it. 2016-08-02T17:13:37Z ukari joined #lisp 2016-08-02T17:14:59Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T17:15:01Z rudolfochrist quit (Ping timeout: 265 seconds) 2016-08-02T17:15:59Z varjag quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2016-08-02T17:20:02Z IPmonger joined #lisp 2016-08-02T17:20:52Z zacharias quit (Ping timeout: 264 seconds) 2016-08-02T17:22:07Z mathi_aihtam joined #lisp 2016-08-02T17:22:22Z mvilleneuve quit (Quit: This computer has gone to sleep) 2016-08-02T17:28:13Z strykerkkd joined #lisp 2016-08-02T17:29:34Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T17:32:51Z Josh2 joined #lisp 2016-08-02T17:33:50Z IPmonger joined #lisp 2016-08-02T17:35:37Z mishoo quit (Ping timeout: 260 seconds) 2016-08-02T17:38:07Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-02T17:39:13Z jokleinn quit (Quit: WeeChat 1.5) 2016-08-02T17:43:06Z IPmonger joined #lisp 2016-08-02T17:44:16Z jokleinn joined #lisp 2016-08-02T17:45:37Z hiyosi joined #lisp 2016-08-02T17:47:37Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T17:48:10Z IPmonger joined #lisp 2016-08-02T17:49:57Z hiyosi quit (Ping timeout: 250 seconds) 2016-08-02T17:53:18Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T17:53:45Z PuercoPop: rudolfochrist: the du jour is prove. But I'd check fiasco and lisp-unit2 before settling for one. (There is also some WIP integration between prove and quickcheck here https://github.com/Inaimathi/test-utils) 2016-08-02T17:54:12Z PuercoPop: (I mostly use prove because there is not much to type to get testing) 2016-08-02T17:56:50Z IPmonger joined #lisp 2016-08-02T17:58:56Z BlueRavenGT joined #lisp 2016-08-02T18:01:25Z IPmonger quit (Ping timeout: 265 seconds) 2016-08-02T18:06:05Z IPmonger joined #lisp 2016-08-02T18:10:37Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T18:11:09Z IPmonger joined #lisp 2016-08-02T18:12:01Z JuanDaugherty joined #lisp 2016-08-02T18:13:05Z varjag joined #lisp 2016-08-02T18:15:39Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T18:19:54Z IPmonger joined #lisp 2016-08-02T18:24:25Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T18:27:47Z bocaneri quit (Remote host closed the connection) 2016-08-02T18:29:02Z IPmonger joined #lisp 2016-08-02T18:33:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T18:34:09Z IPmonger joined #lisp 2016-08-02T18:35:52Z StephanLahl quit (Ping timeout: 264 seconds) 2016-08-02T18:38:41Z StephanLahl joined #lisp 2016-08-02T18:38:48Z IPmonger quit (Ping timeout: 276 seconds) 2016-08-02T18:39:13Z ggole quit (Ping timeout: 244 seconds) 2016-08-02T18:40:43Z pmc joined #lisp 2016-08-02T18:42:22Z karswell quit (Remote host closed the connection) 2016-08-02T18:42:50Z IPmonger joined #lisp 2016-08-02T18:43:15Z karswell joined #lisp 2016-08-02T18:44:50Z attila_lendvai joined #lisp 2016-08-02T18:44:50Z attila_lendvai quit (Changing host) 2016-08-02T18:44:50Z attila_lendvai joined #lisp 2016-08-02T18:47:19Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T18:48:34Z brfennpocock joined #lisp 2016-08-02T18:49:29Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-02T18:52:02Z IPmonger joined #lisp 2016-08-02T18:56:40Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T18:57:08Z IPmonger joined #lisp 2016-08-02T19:01:06Z edgar-rft joined #lisp 2016-08-02T19:02:11Z Bike joined #lisp 2016-08-02T19:02:31Z jerme quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2016-08-02T19:05:52Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T19:06:04Z nalik joined #lisp 2016-08-02T19:06:21Z IPmonger joined #lisp 2016-08-02T19:10:32Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T19:15:03Z IPmonger joined #lisp 2016-08-02T19:19:36Z nalik quit (Ping timeout: 250 seconds) 2016-08-02T19:19:40Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T19:20:10Z IPmonger joined #lisp 2016-08-02T19:25:04Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T19:25:42Z nalik joined #lisp 2016-08-02T19:28:47Z IPmonger joined #lisp 2016-08-02T19:32:52Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T19:33:27Z StephanLahl quit (Ping timeout: 264 seconds) 2016-08-02T19:34:00Z StephanLahl joined #lisp 2016-08-02T19:35:30Z jerme joined #lisp 2016-08-02T19:38:06Z IPmonger joined #lisp 2016-08-02T19:38:29Z StephanLahl quit (Ping timeout: 260 seconds) 2016-08-02T19:39:09Z StephanLahl joined #lisp 2016-08-02T19:40:49Z rpg joined #lisp 2016-08-02T19:42:12Z edgar-rft quit (Quit: edgar-rft) 2016-08-02T19:42:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T19:42:57Z m00natic joined #lisp 2016-08-02T19:43:26Z Neet quit (Ping timeout: 250 seconds) 2016-08-02T19:43:47Z Neet joined #lisp 2016-08-02T19:44:07Z pmc quit (Read error: Connection reset by peer) 2016-08-02T19:44:18Z Kooda quit (Ping timeout: 250 seconds) 2016-08-02T19:44:40Z pmc joined #lisp 2016-08-02T19:44:43Z attila_lendvai joined #lisp 2016-08-02T19:45:03Z rpg: If I'm programming a new pprint-dispatch table, should I define it with DEFPARAMETER, but add an EVAL-WHEN that covers COMPILE-TIME? Don't I need to do this so that the SET-PPRINT-DISPATCH has the right semantics at compile time? 2016-08-02T19:45:21Z Kooda joined #lisp 2016-08-02T19:45:40Z pmc quit (Read error: Connection reset by peer) 2016-08-02T19:45:57Z tmtwd joined #lisp 2016-08-02T19:46:14Z pmc joined #lisp 2016-08-02T19:47:17Z IPmonger joined #lisp 2016-08-02T19:49:31Z Bike: are you calling set-pprint-dispatch at compile time? 2016-08-02T19:52:07Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T19:53:33Z StephanLahl quit (Ping timeout: 276 seconds) 2016-08-02T19:54:03Z rpg: Bike: I believe it has compile time semantics also, if I call it at the top-level, right? 2016-08-02T19:54:18Z StephanLahl joined #lisp 2016-08-02T19:54:21Z vlatkoB quit (Remote host closed the connection) 2016-08-02T19:56:29Z IPmonger joined #lisp 2016-08-02T19:56:48Z mj12` quit (Ping timeout: 276 seconds) 2016-08-02T19:57:29Z Bike: no, it's just a function 2016-08-02T19:57:50Z Bike: like proclaim 2016-08-02T19:58:20Z rpg: but doesn't PROCLAIM have compile time semantics? 2016-08-02T19:58:24Z Bike: it does not 2016-08-02T19:58:26Z Bike: clhs proclaim 2016-08-02T19:58:26Z specbot: http://www.lispworks.com/reference/HyperSpec/Body/f_procla.htm 2016-08-02T19:58:47Z Bike: you only need it at compile time if you're printing things at compile time, which is a bit unusual (i guess it might be useful if you expected compile time errors with your objects) 2016-08-02T19:58:52Z Bike: need set-pprint-dispatch that is 2016-08-02T19:59:26Z Bike: if an operator has compile time semantics there will be something in the clhs page like "If a [whatever] form appears as a top level form, the compiler must" 2016-08-02T20:00:59Z Bike: like deftype or defclass. i don't think any function has compile semantics, which is good because it means the compiler only needs to worry about special operators and macros that expand into eval-when forms 2016-08-02T20:01:10Z rpg: right. OK, so no worries. 2016-08-02T20:02:01Z grimsley joined #lisp 2016-08-02T20:05:19Z IPmonger quit (Ping timeout: 260 seconds) 2016-08-02T20:06:13Z IPmonger joined #lisp 2016-08-02T20:11:50Z puchacz quit (Quit: Konversation terminated!) 2016-08-02T20:11:55Z grouzen quit (Ping timeout: 265 seconds) 2016-08-02T20:13:28Z warweasle quit (Quit: going home) 2016-08-02T20:15:09Z IPmonger quit (Quit: ZNC 1.6.3 - http://znc.in) 2016-08-02T20:15:23Z IPmonger joined #lisp 2016-08-02T20:17:43Z tmtwd quit (Ping timeout: 265 seconds) 2016-08-02T20:17:49Z nalik quit (Quit: Leaving) 2016-08-02T20:18:45Z vibs29 joined #lisp 2016-08-02T20:20:02Z nalik joined #lisp 2016-08-02T20:20:28Z nalik quit (Remote host closed the connection) 2016-08-02T20:20:51Z nalik joined #lisp 2016-08-02T20:21:48Z nalik quit (Client Quit) 2016-08-02T20:22:09Z nalik joined #lisp 2016-08-02T20:24:19Z IPmonger quit (Quit: ZNC 1.6.3 - http://znc.in) 2016-08-02T20:24:35Z IPmonger joined #lisp 2016-08-02T20:25:05Z vibs29 left #lisp 2016-08-02T20:25:10Z eSVG joined #lisp 2016-08-02T20:25:36Z asc232 joined #lisp 2016-08-02T20:26:35Z nalik_ joined #lisp 2016-08-02T20:27:46Z eivarv quit (Quit: Sleep) 2016-08-02T20:28:33Z nalik quit (Ping timeout: 240 seconds) 2016-08-02T20:33:13Z shka_ quit (Ping timeout: 258 seconds) 2016-08-02T20:33:18Z nalik_ quit (Ping timeout: 250 seconds) 2016-08-02T20:37:36Z eSVG quit (Ping timeout: 250 seconds) 2016-08-02T20:41:59Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T20:44:39Z jerme quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2016-08-02T20:44:49Z nalik_ joined #lisp 2016-08-02T20:47:06Z IPmonger joined #lisp 2016-08-02T20:50:37Z sellout- joined #lisp 2016-08-02T20:56:19Z IPmonger quit (Quit: ZNC 1.6.3 - http://znc.in) 2016-08-02T20:56:35Z IPmonger joined #lisp 2016-08-02T20:58:42Z gingerale quit (Remote host closed the connection) 2016-08-02T20:59:52Z pierpa joined #lisp 2016-08-02T21:01:49Z pmc quit (Quit: Leaving) 2016-08-02T21:03:08Z sellout- quit (Quit: Leaving.) 2016-08-02T21:03:41Z zacharias joined #lisp 2016-08-02T21:05:05Z IPmonger quit (Ping timeout: 258 seconds) 2016-08-02T21:06:50Z grimsley quit (Quit: Leaving) 2016-08-02T21:10:03Z IPmonger joined #lisp 2016-08-02T21:12:34Z impulse quit (Quit: leaving) 2016-08-02T21:14:13Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T21:15:10Z IPmonger joined #lisp 2016-08-02T21:16:26Z prole quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-08-02T21:16:52Z prole joined #lisp 2016-08-02T21:23:52Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T21:27:02Z ym quit (Remote host closed the connection) 2016-08-02T21:27:34Z StephanLahl quit (Ping timeout: 260 seconds) 2016-08-02T21:28:30Z IPmonger joined #lisp 2016-08-02T21:29:26Z StephanLahl joined #lisp 2016-08-02T21:30:37Z discardedes joined #lisp 2016-08-02T21:31:05Z discardedes: can anybody read this? 2016-08-02T21:32:17Z Bike: sure. 2016-08-02T21:32:27Z discardedes: ok 2016-08-02T21:32:35Z discardedes: last nick didnt work on this channel 2016-08-02T21:32:39Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T21:33:32Z IPmonger joined #lisp 2016-08-02T21:35:32Z ASau joined #lisp 2016-08-02T21:36:10Z mishoo joined #lisp 2016-08-02T21:37:55Z IPmonger quit (Ping timeout: 252 seconds) 2016-08-02T21:39:07Z MoALTz quit (Quit: Leaving) 2016-08-02T21:41:12Z mishoo quit (Ping timeout: 260 seconds) 2016-08-02T21:42:14Z IPmonger joined #lisp 2016-08-02T21:44:01Z phoe: discardedes: we see you 2016-08-02T21:44:33Z discardedes: ok.... i used to use the name adam789654123, and mysteriously that nick never worked on this channel 2016-08-02T21:44:53Z discardedes: but im glad its fixed now 2016-08-02T21:45:14Z discardedes: maybe something in the config that filtered the numbers or something? idk 2016-08-02T21:46:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T21:47:26Z IPmonger joined #lisp 2016-08-02T22:00:43Z IPmonger quit (Ping timeout: 244 seconds) 2016-08-02T22:01:05Z IPmonger joined #lisp 2016-08-02T22:01:17Z adolf_stalin quit (Quit: Leaving...) 2016-08-02T22:01:21Z rpg quit (Quit: Textual IRC Client: www.textualapp.com) 2016-08-02T22:02:15Z holly2 quit (Ping timeout: 276 seconds) 2016-08-02T22:04:43Z holly2 joined #lisp 2016-08-02T22:05:36Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T22:09:24Z ovenpasta quit (Ping timeout: 276 seconds) 2016-08-02T22:09:34Z asc232 quit (Remote host closed the connection) 2016-08-02T22:09:49Z IPmonger joined #lisp 2016-08-02T22:11:30Z asc232 joined #lisp 2016-08-02T22:18:51Z IPmonger quit (Quit: ZNC 1.6.3 - http://znc.in) 2016-08-02T22:19:00Z groovy2shoes quit (Ping timeout: 250 seconds) 2016-08-02T22:19:04Z IPmonger joined #lisp 2016-08-02T22:21:47Z groovy2shoes joined #lisp 2016-08-02T22:21:54Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-02T22:23:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T22:23:54Z mathi_aihtam joined #lisp 2016-08-02T22:24:06Z IPmonger joined #lisp 2016-08-02T22:29:33Z aries_liuxueyang quit (Ping timeout: 276 seconds) 2016-08-02T22:31:09Z attila_lendvai quit (Ping timeout: 260 seconds) 2016-08-02T22:32:28Z IPmonger quit (Ping timeout: 250 seconds) 2016-08-02T22:33:15Z IPmonger joined #lisp 2016-08-02T22:36:46Z ukari quit (Ping timeout: 252 seconds) 2016-08-02T22:37:33Z IPmonger quit (Ping timeout: 240 seconds) 2016-08-02T22:38:01Z cromachina joined #lisp 2016-08-02T22:42:10Z strykerkkd quit (Quit: Leaving) 2016-08-02T22:42:33Z davsebamse quit (Ping timeout: 276 seconds) 2016-08-02T22:44:15Z davsebamse joined #lisp 2016-08-02T22:50:11Z mejja joined #lisp 2016-08-02T22:51:27Z davsebamse quit (Ping timeout: 264 seconds) 2016-08-02T22:52:44Z davsebamse joined #lisp 2016-08-02T22:58:56Z Denommus joined #lisp 2016-08-02T23:00:38Z nalik__ joined #lisp 2016-08-02T23:03:01Z nalik__ quit (Client Quit) 2016-08-02T23:03:28Z nalik_ quit (Ping timeout: 264 seconds) 2016-08-02T23:04:10Z Yuuhi quit (Remote host closed the connection) 2016-08-02T23:05:16Z ehaliewicz joined #lisp 2016-08-02T23:06:16Z davsebamse quit (Ping timeout: 250 seconds) 2016-08-02T23:10:20Z eSVG joined #lisp 2016-08-02T23:15:43Z davsebamse joined #lisp 2016-08-02T23:18:06Z mathi_aihtam quit (Quit: mathi_aihtam) 2016-08-02T23:22:30Z discardedes quit (Remote host closed the connection) 2016-08-02T23:24:15Z jleija joined #lisp 2016-08-02T23:31:36Z _sjs joined #lisp 2016-08-02T23:32:37Z davsebamse quit (Ping timeout: 258 seconds) 2016-08-02T23:35:28Z quazimodo joined #lisp 2016-08-02T23:35:30Z quazimod1 joined #lisp 2016-08-02T23:37:33Z jasom: let me check 2016-08-02T23:37:34Z Josh3 joined #lisp 2016-08-02T23:39:24Z Josh2 quit (Ping timeout: 244 seconds) 2016-08-02T23:39:25Z Josh3 is now known as Josh2 2016-08-02T23:40:14Z jasom: banlist doesn't seem to show anything reflecting that; at one point any nickname with the penultimate character of 2 was banned though, so perhaps adam789654123 will work now 2016-08-02T23:41:38Z sellout- joined #lisp 2016-08-02T23:44:06Z jasom: *2?!*@* quieted by orwell.freenode.net on Wed, 15 Jun 2016 22:57:56 <-- still in quiet list 2016-08-02T23:45:11Z Josh3 joined #lisp 2016-08-02T23:46:39Z Josh2 quit (Ping timeout: 264 seconds) 2016-08-02T23:47:10Z Josh3 is now known as Josh2 2016-08-02T23:47:44Z pillton: Does ASDF have hooks to allow for operations to be performed before and after loading a system? e.g. After loading system X, call this function in order to configure X according to my local configuration. 2016-08-02T23:51:57Z Josh2 quit (Remote host closed the connection)