Fork me on GitHub
#beginners
<
2017-06-24
>
emperorcezar12:06:51

Can someone link me to what fn* is? Googling isn't coming up with anything

noisesmith12:06:07

it's the special form that fn calls, with most of the same features but no destructuring support

emperorcezar15:06:12

Would you use it to try and squeeze more speed?

noisesmith15:06:48

not really - I only think it gets used directly in clojure.core in code that is defined before destructuring exists

madstap16:06:38

It won't make a difference at runtime as fn is transformed to fn* at macroexpansion time.

pitalig16:06:19

Hi guys! Can someone help me with ragtime migrations setup?

pitalig16:06:16

I'm trying to follow this guide (https://kendru.github.io/restful-clojure/2014/03/01/building-out-the-web-service-restful-clojure-part-3/) to create my first clojure web app, it's also my first functional app...

pitalig16:06:29

but seems that ragtime configuration that Andrew used don't work anymore, ragtime now suggest to put settings on a namespace (https://github.com/weavejester/ragtime/wiki/Getting-Started)

pitalig16:06:30

Are there a way to keep this settings at project.clj?

weavejester19:06:08

@pitalig There are other migration libraries that integrate with Leiningen, like https://github.com/yogthos/migratus

weavejester19:06:28

In general, I’ve found it’s not a great idea to mix app config with your project file.