darioszr
2019-8-16 18:03:43

@darioszr has joined the channel


darioszr
2019-8-16 18:05:04

hi! :racket:


notjack
2019-8-16 18:29:32

@darioszr hello! :wave:


darioszr
2019-8-16 19:26:34

glad to be here ! i did my 1st helloworld programs with racket but I have a clojure background.. (and knows other langs..)


darioszr
2019-8-16 19:27:20

I find racketlang really interesting :racket: currenlty I’m learnig more about raco for setting up a project..


darioszr
2019-8-16 19:30:09

darioszr
2019-8-16 19:30:23

Is this somehow a know pattern when defining a project?


darioszr
2019-8-16 19:30:38

I’m just looking upstream in the wild right now :grin:


darioszr
2019-8-16 19:33:27

a part of that, where I could get any info on the web on the #lang info? tia


darioszr
2019-8-16 19:34:15

notjack
2019-8-16 19:54:02

@darioszr If you run raco pkg new, it will make an empty racket package with the info.rkt file all set up for you


darioszr
2019-8-16 19:54:33

thx! i was reading the whole manuals..


darioszr
2019-8-16 19:54:36

:grin:


notjack
2019-8-16 19:55:07

Also see this template github repository, if you’re planning on hosting your code in github: https://github.com/spdegabrielle/racket-package


notjack
2019-8-16 19:55:19

(thanks @spdegabrielle!)


darioszr
2019-8-16 19:55:40

nice! I was actually creating the same thing..


darioszr
2019-8-16 19:55:44

:grin:


darioszr
2019-8-16 20:02:53

@notjack so I created the project. where does the raco install install the pkg?


darioszr
2019-8-16 20:03:09

I’m using a Linux Os


notjack
2019-8-16 20:05:32

@darioszr By default it puts it in some directory somewhere in your racket installation, and you have to reinstall it each time you edit your code locally and want the installed package to reflect the edits. But I recommend installing your own packages using raco pkg install --link instead of raco pkg install, which won’t copy the code to racket’s directory of packages and instead will set up a “link” to the directory with your code, so as you edit it changes are reflected immediately.


notjack
2019-8-16 20:06:29

So remove the package with raco pkg remove mypackage, then reinstall it by running raco pkg install --link mypackage (where mypackage is the name of the directory containing your package)


spdegabrielle
2019-8-17 01:49:44

@darioszr @notjack there is a great tutorial on creating packages on the Racket blog: https://blog.racket-lang.org/2017/10/tutorial-creating-a-package.html


spdegabrielle
2019-8-17 01:50:36

spdegabrielle
2019-8-17 01:51:25

spdegabrielle
2019-8-17 01:53:21

Hi all, keep asking questions! (And keep answering them too!) To help you get started we have collected some useful resources https://github.com/racket/racket/wiki/How-to-get-started


spdegabrielle
2019-8-17 02:20:52

@darioszr @notjack the template is still a draft. raco pkg new <<package name>> is best. The template does some GitHub specific configuration like adding the racket topic to the repo and a custom issue templates and one or two other things.