#racket

/

      • axion
        I love CL, because I am a game developer, and there is a strong community there, along with the C-like performance with certain implementations. But, I am still willing to try out Racket even though I know it won't be able to compete there. I don't mind that. I am pretty open and like the idea of any Lisp.
      • Lowl3v3l
        axion: i am not sure it won't be able to compete in terms of speed. I suppose typed/racket will at least be somewhat in the same league with CL ( though ofc i did no reliable benchmarks, just my perception)
      • axion
        By the way, while I am at it. I run the annual Lisp Game Jam, and I never posted the link to the upcoming jam to the Racket community yet. So, https://itch.io/jam/lisp-game-jam-2017-easy-mode
      • tautologico
        in theory I think it should be possible to optimized (typed) racket as well as CL... but in practice I don't know
      • maybe when the transition to use Chez is complete
      • axion
        Lowl3v3l: Thanks for the info wrt emacs packages. I guess I will have to read about both to see if I want both in conjunction.
      • Ardx joined the channel
      • _apg has quit
      • badkins joined the channel
      • Lowl3v3l has quit
      • haxxor has quit
      • cromachina joined the channel
      • vkirilichev joined the channel
      • georges-duperon joined the channel
      • bjz joined the channel
      • Hyperion2010 has quit
      • Hyperion2010 joined the channel
      • Ardx has quit
      • badkins has quit
      • bjz joined the channel
      • shdeng joined the channel
      • nomicflux joined the channel
      • dented42 has quit
      • vkirilichev has quit
      • badkins joined the channel
      • badkins has quit
      • ArneBab joined the channel
      • vkirilichev joined the channel
      • vkirilichev has quit
      • Guest52059 joined the channel
      • cemerick joined the channel
      • nomicflux joined the channel
      • nomicflux has quit
      • jao has quit
      • pilne has quit
      • vkirilichev joined the channel
      • vraid has quit
      • Bock joined the channel
      • frankpf joined the channel
      • bjz joined the channel
      • vraid joined the channel
      • Bock joined the channel
      • JoelMcCracken
        is there a way to print the contracts for a function in the dr racket repl?
      • mizu_no_oto joined the channel
      • s455wang
        break the contract
      • (april fools)
      • JoelMcCracken
        indeed, that thought did come to me
      • net4all has quit
      • net4all joined the channel
      • are there plans for a print version of beautiful racket?
      • frankpf has quit
      • frankpf joined the channel
      • cpup joined the channel
      • vkirilichev joined the channel
      • endobson has quit
      • vendethiel has quit
      • lexi-lambda
        JoelMcCracken: you could try value-contract http://docs.racket-lang.org/reference/contract-...
      • rudybot
      • lexi-lambda
        you could also probably get at the bluebox data produced by scribble docs
      • endobson joined the channel
      • dented42 joined the channel
      • vkirilichev joined the channel
      • YuGiOhJCJ joined the channel
      • vkirilichev joined the channel
      • bjz joined the channel
      • vkirilichev joined the channel
      • endobson has quit
      • thinkpad has quit
      • cemerick has quit
      • thinkpad joined the channel
      • manualcrank has quit
      • vkirilichev joined the channel
      • znpy has quit
      • dan_f has quit
      • znpy joined the channel
      • vydd joined the channel
      • vydd has quit
      • vydd joined the channel
      • X-Scale has quit
      • axion
        Is there a way to have geiser send the form to be evaluated with C-c C-c to the REPL like CL/SLIME does? I'm not sure I like the minibuffer evaluation.
      • (or is there anything other than geiser that can do this? I'm a newbie.)
      • YuGiOhJCJ has quit
      • znpy has quit
      • siel has quit
      • siel joined the channel
      • znpy joined the channel
      • shdeng has quit
      • georges-duperon joined the channel
      • dented42_ joined the channel
      • dented42 has quit
      • dmiles joined the channel
      • bremner
        axion: racket-mode can send a form at a time to the REPL
      • axion
        Thanks
      • bremner
        C-x C-e
      • vkirilichev joined the channel
      • YuGiOhJCJ joined the channel
      • bjz joined the channel
      • soegaard joined the channel
      • tautologico
        JoelMcCracken: the FAQ says a print version is not in the plans
      • zyklon
        i!
      • anybody here, who uses emacs' racket-mode?
      • i'd like to make a convenient workflow
      • the REPL would be in a separate 'frame' (OS window), and in the other frame would be the racket source code buffers
      • and pressing <f5> (run in repl, and switch to repl) would switch to the repl
      • frame
      • now, if i press <f5> a new buffer pops up, even if i have one already, in another frame
      • bremner
        zyklon: I use racket-mode, but I don't know how to do what you want.
      • I tend to use emacs full screen quite a lot, so I prefer the current setup, but that's neither here nor there.
      • zyklon
        ok :)
      • than, i have to dive into the elisp code of racket-mode
      • *then
      • genemcculley joined the channel
      • genemcculley
        Hey there: I’m looking into trying Racket for some new development. I used Scheme a long time ago. I’m looking at Typed Racket for my use case. It’s not clear to me what best practices are for documentation. It looks like scribble/srcdoc is intended for documentation. Is that the best route or is there something else akin to “docstrings”?
      • xkapastel joined the channel
      • obfusk has quit
      • obfusk joined the channel
      • obfusk has quit
      • obfusk joined the channel
      • soegaard has quit
      • jao joined the channel
      • jao has quit
      • bremner
        genemcculley: there isn't really docstrings a la python.
      • davemusicant joined the channel
      • genemcculley
        bremner: Ah. Thanks. Do you happen to know of any good libraries that would work with Racket for doing something like that?
      • bremner
        I'm not aware of any, but that doesn't mean they don't exist.
      • davemusicant has quit
      • J_Arcane joined the channel
      • JoelMcCracken
        is there a way to evaulate racket code in this channel
      • (value-contract +) => #f
      • unless i'm misunderstanding
      • soegaard joined the channel
      • s455wang
        JoelMcCracken: rudybot used to
      • I can't remember if someone was supposed to make a new one / fix it
      • It works for functions I define, but not for built-in ones
      • wtetzner joined the channel
      • znpy has quit
      • znpy joined the channel
      • YuGiOhJCJ has quit
      • ptvirgo joined the channel
      • nomicflux joined the channel
      • endobson joined the channel
      • endobson has quit
      • endobson joined the channel
      • zyklon has quit
      • obfusk has quit
      • georges-duperon
        genemcculley: What are the resasons (i.e. features) for you to want docstrings?
      • genemcculley: If you want quick access to the documentation of functions, then when editing code in DrRacket, you get the signature of the function under the cursor in the blue box in the top right corner (and maybe a small blurb, I'm not sure).
      • genemcculley: These are extracted from the scribble documentation, and if you look in the archives of the IRC channel or the mailing list, I remember seeing sometime ago people discussing how to access the contents put into these "blue boxes" outside of DrRacket.
      • genemcculley: If what you want to do is mix code & documentation, have a look at def-jambda from greghendershott (I'm not sure how stable it is, see the Caveat in the README).
      • genemcculley: There's also McFly which does this: https://docs.racket-lang.org/mcfly/