[00:56:01] * jamtho [jamtho!~jamtho@host86-138-206-22.range86-138.btcentralplus.com] has quit (Ping timeout: 240 seconds). [01:11:24] how do you name a local in factor? [01:38:17] i try not to [01:39:20] but you can use the :: word to define words with lexicals [01:42:56] hmm [01:45:35] i'm trying to do list replication on hackerrank [01:48:17] and just as i ask for help i get it [01:48:26] always happens [01:57:26] * MDude [MDude!~MDude@c-73-187-225-46.hsd1.pa.comcast.net] has joined the channel. [02:11:12] the help says 'dupd' is deprecated. it says it's better to use lexical variables. can somebody explain? [02:33:28] also, can somebody show an example of lexical variables? [02:57:43] i dont agree that dupd is always bad. if you need dupd, you need dupd [02:57:53] but it definitely should make you think more about the code [02:58:17] so locals need to be in a local scope. double colon words do it: :: square ( x -- y ) x x * ; [02:58:30] * roachmd [roachmd!~roachmd@2601:cc:4100:244e:a4a1:9a3d:cc53:d71d] has quit (Remote host closed the connection). [03:13:30] so to use :: you have to define a new word [03:13:39] that seems a little excessive [03:27:36] * kasrasadeghi [kasrasadeghi!4937cf9a@gateway/web/freenode/ip.73.55.207.154] has quit (Ping timeout: 260 seconds). [06:08:32] * FreeFull [FreeFull!~freefull@defocus/sausage-lover] has quit. [06:28:34] oh he left [07:13:57] * xkapastel [xkapastel!uid17782@gateway/web/irccloud.com/x-xmyiswbqkidrotfn] has quit (Quit: Connection closed for inactivity). [08:12:34] * defanor [defanor!~defanor@cupcake.uberspace.net] has joined the channel. [08:26:33] * jamtho [jamtho!~jamtho@host86-138-206-22.range86-138.btcentralplus.com] has joined the channel. [08:43:37] * jamtho [jamtho!~jamtho@host86-138-206-22.range86-138.btcentralplus.com] has quit (Ping timeout: 248 seconds). [08:49:48] * doublec [doublec!~doublec@unaffiliated/doublec] has quit (*.net *.split). [08:53:19] * shmibs [shmibs!~shmibs@shmibbles.me] has quit (Ping timeout: 260 seconds). [08:54:50] * shmibs [shmibs!~shmibs@shmibbles.me] has joined the channel. [09:26:39] * jamtho [jamtho!~jamtho@host86-138-206-22.range86-138.btcentralplus.com] has joined the channel. [09:31:00] * jamtho [jamtho!~jamtho@host86-138-206-22.range86-138.btcentralplus.com] has quit (Ping timeout: 240 seconds). [09:33:49] * doublec [doublec!~doublec@unaffiliated/doublec] has joined the channel. [10:39:14] * roachmd [roachmd!~roachmd@2601:cc:4100:244e:a4a1:9a3d:cc53:d71d] has joined the channel. [11:42:40] * rotty [rotty!~rotty@yade.chaostreff.at] has quit (Ping timeout: 240 seconds). [12:10:08] * rotty [rotty!~rotty@yade.chaostreff.at] has joined the channel. [12:16:46] * roachmd [roachmd!~roachmd@2601:cc:4100:244e:a4a1:9a3d:cc53:d71d] has quit (Remote host closed the connection). [14:13:49] * roachmd [roachmd!~roachmd@64.124.76.250] has joined the channel. [14:14:56] * roachmd [roachmd!~roachmd@64.124.76.250] has quit (Read error: Connection reset by peer). [14:15:09] * roachmd [roachmd!~roachmd@64.124.76.250] has joined the channel. [14:15:17] * roachmd [roachmd!~roachmd@64.124.76.250] has quit (Remote host closed the connection). [14:15:34] * roachmd [roachmd!~roachmd@64.124.76.250] has joined the channel. [16:26:34] * FreeFull [FreeFull!~freefull@defocus/sausage-lover] has joined the channel. [16:27:18] * xkapastel [xkapastel!uid17782@gateway/web/irccloud.com/x-xokawamgzcgluwjc] has joined the channel. [18:49:44] * jamtho [jamtho!~jamtho@host86-138-206-22.range86-138.btcentralplus.com] has joined the channel. [18:54:00] * jamtho [jamtho!~jamtho@host86-138-206-22.range86-138.btcentralplus.com] has quit (Ping timeout: 240 seconds). [18:57:29] * jamtho [jamtho!~jamtho@host86-138-206-22.range86-138.btcentralplus.com] has joined the channel. [18:57:30] * jamtho [jamtho!~jamtho@host86-138-206-22.range86-138.btcentralplus.com] has quit (Read error: Connection reset by peer). [19:36:24] * tgunr [tgunr!~davec@cpe-76-172-43-116.hawaii.res.rr.com] has quit (Quit: Textual IRC Client: www.textualapp.com). [19:46:02] * Sgeo_ [Sgeo_!~Sgeo@ool-18b98980.dyn.optonline.net] has quit (Ping timeout: 248 seconds). [19:52:43] * Sgeo [Sgeo!~Sgeo@ool-18b98980.dyn.optonline.net] has joined the channel. [19:59:43] * Sgeo [Sgeo!~Sgeo@ool-18b98980.dyn.optonline.net] has quit (Ping timeout: 246 seconds). [20:05:54] * Sgeo [Sgeo!~Sgeo@ool-18b98980.dyn.optonline.net] has joined the channel. [22:29:39] * roachmd [roachmd!~roachmd@64.124.76.250] has quit (Remote host closed the connection). [22:37:00] * roachmd [roachmd!~roachmd@64.124.76.250] has joined the channel. [22:37:00] * roachmd [roachmd!~roachmd@64.124.76.250] has quit (Read error: Connection reset by peer). [23:27:03] * xkapastel [xkapastel!uid17782@gateway/web/irccloud.com/x-xokawamgzcgluwjc] has quit (Quit: Connection closed for inactivity).