Fork me on GitHub
#beginners
<
2015-10-06
>
tjg11:10:44

Just to be sure, the only way to create ratios is through rationalize and the clojure.lang.Ratio. constructor?

tjg11:10:06

(Oh, and the basic arithmetic operators like / and + depending on the inputs; clojure.lang.Numbers/toRatio; and syntax like 1/2.)

ordnungswidrig11:10:35

@tjg, well, any function could return a ratio.

ordnungswidrig11:10:51

@tjg: what are you aiming at?

tjg11:10:41

@ordnungswidrig: Just making them if given strings or something. Like, right now I basically use rationalize.

tjg11:10:26

@ordnungswidrig: Basically I want exact arithmetic, which is safe under division.

kyle_schmidt15:10:48

Recommended tutorials for a Vim user to setup an environment for Clojure?

meikemertsch17:10:44

@kyle_schmidt: I can't resist; Just use Emacs 😉 Seriously: Sorry I don't know but would be also interested in the answer!

potetm18:10:43

Long story short: cursive + ideavim

kyle_schmidt19:10:55

@meikemertsch: I knew someone was going to say that 😛 Thanks @potetm for your response!

ordnungswidrig19:10:52

@kyle_schmidt: spacemacs is not too shabby for vim users if you want to jump over to emacs

jonschoning19:10:09

imho I think the Evil package does 90% of what people actually want spacemacs for (vim functionality)

jonschoning19:10:53

Layers in Spacemacs makes it pretty hard to install packages ad-hoc

akiva19:10:14

Not really. Especially with the latest versions. You can install things via Paradox or whatever just to test them out. Then it’s a simple matter of adding the package name to dotspacemacs-additional-packages in .spacemacs for when you restart.

akiva19:10:07

Actually, there’s now a switch to stop Spacemacs from auto-deleting ‘orphaned packages’ so you could enable that and install things via Paradox and not bother with the .spacemacs file.

jonschoning20:10:42

ok, well that does sound much better, yes. Though it's interesting that people who are asking for Vim functionality in Emacs are directed to Spacemacs which is much more than just Vim. These same users typically don't ask "how do I manage my package dependency problem?" in the same breath, but that is also what Spacemacs solves.

roberto20:10:49

If I were to pick a “pre-packaged’ emacs, I would opt for Emacs Live

jonschoning20:10:27

though if what one really wants is a single installable bundle for various types of project setups, then yeah Spacemacs does that well.

akiva20:10:11

I’ve been a vi/vim user since 1988. It was only Spacemacs that got me to convert to Emacs earlier this year. The one thing I had always been ‘envious’ of when it came to traditional Emacs was the extensibility. Yeah, vim has its own equivalents of Projectile, for example, but it’s stuff like which-key and org-mode that convinced me to switch. So, for me, it was more than just vi keystrokes that got me.

jonschoning20:10:12

well yeah agree those are the things that just make emacs great in general

chris22:10:44

I'm a spacemacser too, but people have had good luck with vim fireplace and paredit.

chris22:10:36

There's also an #editors channel for more in depth discussion