Clojure

Clojure is a functional, dynamic, general-purpose programming language. It provides built-in concurrency support via software transactional memory and asynchronous agents, and offers a rich set of immutable, persistent data structures. Clojure runs on JVM, JavaScript VMs, and Common Language Runtime.
Here are 4,081 public repositories matching this topic...
- Select theme with thick strip in line number block.
- Save and restart. Open some file. Нou see that the first characters of the lines are hidden under stripe.
- Open another file. All display properly.
- If you see carefully that the whole block with line numbers in the first case is shifted to the left.
First file
Well, we need to check all the projects and remove outdated ones.
We declare this in the readme:
However, keep in mind that we don't accept mammoth's shit. Only active and interesting projects with good documentation are added. Dead and abandoned projects will be removed.
But, sadly at this moment, this project looks like a mammoth shit itself.
We really need to fix it. I think
Small omission in the guide: it is implied in step 9 that a {}
literal should be parsed as a hash-map in the reader, but this is never explicitly stated earlier on. The sentence in question is: "This is basically the functional form of the {}
reader literal syntax".
I've wanted to craft a "1 minute", "5 minute", "15 minute" moving average (like a unix load average), but don't know the right r
to pass to ewma-timeless
to get it.
Either documenting a rule of thumb or providing a mechanism to recreate that would be helpful.
Currently Reagent has one shortcut to control how components are created:
:>
as shortcut toadapt-react-class
which in effect callscreate-element
and converts the Cljs properties to JS object (doesn't wrap the component in Reagent implementation, so Ratoms won't work inside these components):<>
isn't really shortcut, but just special element
I want to add two more:
- Shortc
I don't use Compojure on a regular basis (sometimes with years in between), so I always hit the wiki to find out how it is used. The basics are really intuitive and easy to get up and running. But I always struggle to figure out how the more complex stuff works. Specifically I have two reoccurring issues that I get stuck with every time, where I have to turn to web searches (usually ending up on S
(d/datoms db :avet :some-attr)
returns nil if :some-attr
is unindexed. This is mentioned in the docs, but it's caught me twice now. Would it be possible for d/datoms
to warn me when trying to seq over an unindexed attribute, or perhaps trigger a slow scan instead of returning nil?
Documentation?
Parentheses are not required when using the threading macros for functions having no argument specified, so use them only when necessary.
;; good
(-> x fizz :foo first frob)
;; bad; parens add clutter and are not needed
(-> x (fizz) (:foo) (first) (frob))
;; good, parens are necessary with an arg
(-> x
(fizz a b)
:foo
first
(frob x y))
-
Updated
Jun 12, 2020 - Kotlin
I struggled to setup ring for development and production, as there are so many options.
I tried to compile what I found into two pages https://github.com/laliluna/ring/wiki/Setup-for-development and https://github.com/laliluna/ring/wiki/Setup-for-production
In addition I structured the Home page to make it a bit easier to read.
https://github.com/laliluna/ring/wiki
The examples are more
Hi there, I have a warning here, not a big deal and I can try to have a look at in my free time but I wanted to report it.
Additional piece of info, I am using cider
in a use-package
clause.
Expected behavior
It should not show the warning.
Actual behavior
It shows the warning.
Steps to reproduce the problem
Start up emacs with a (compiled) cider version.
Compiled he
Problem
Currently when a user receives a PN, we show a very generic message (no indication of sender, body, etc). This will change in the future (e.g. with status-im/status-react#7043), so it would be good to be more explicit about the fact that we are showing a generic PN message due to the db being locked. Also, since we may receive PNs from users we've since removed
Hello!
I recently tried to setup REPL driven dev with Vim and while following your wiki entry I ran into some problems with library versions.
Below is the configuration that made it work for me:
REPL-y 0.4.3, nREPL 0.6.0
Clojure 1.10.0
:profiles
{:dev
{:dependencies [[figwhee
Good day
I have a problem connecting the presto driver
%%classpath add mvn
com.facebook.presto presto-base-jdbc 0.232
%defaultDatasource jdbc:presto://root@127.0.0.1:8282/hive/default
I can not figure it out and I can not see the full error trace.
Thank you for HTTP, and thank you for the recent additions of the logging and event logging system - they were very easy to use, and very helpful.
I've been investigating a problem in my system where requests are being sent to a server that is being s
Currently It's really cumbersome to discover how to tweak the KLISPE APP.
There are a couple of hotkeys and url parameters documented here: http://blog.klipse.tech/clojure/2016/03/27/klipse-manual.html
Here are a couple of ideas - given by @pesterhazy how to do that:
- Like github.com narrow top bar
- Like reddit.com tab-like rider
- Like this
Currently, changes to plugin information models need to be mirrored, manually in the respective README.md.
This proposal outlines a possible approach to:
- Generate the relevant portion of the README directly from the info model.
- Integrate into the existing plugin release process.
A: Create a doc-gen lein plugin to render an information-model map into markdown
- Content should correspond
If I wanted to specify ClojureScript dependencies, the following snippet would suffice.
#!/bin/sh
"exec" "lumo" "-c" "tools.cli-0.3.7.jar" "$0" "$@"
I think we should document this somewhere in this project.
How can I specify npm dependencies in a clojurescript script? Can it be documented, too?
nREPL 0.5 introduced some configuration files, which ideally should be respected by REPLs using nREPL. (see https://nrepl.org/nrepl/0.6.0/usage/server.html#_server_configuration)
Lein and clj already honour the config file, and it be nice if boot did the same.
I guess this ticket is mostly a reminder for myself to implement this, but if someone wants to tackle it - it's a pretty simple and s
In Node (and React-native) the WebSocket constructor can take additional parameter which can set the HTTP request options for the initial request. This can be used to set headers etc.
https://github.com/theturtle32/WebSocket-Node/blob/master/docs/W3CWebSocket.md#constructor
https://github.com/facebook/react-native/blob/29fb2a8e90fa3811f9485d4b89d9dbcfffea93a6/Libraries/WebSocket/WebSocket.js#L
Unity has changed the UI to configure the Mono Runtime in 2019.2 and we need to update our documentation to reflect that.
The documentation is not inaccurate for older versions of Unity, so maybe an amendment (as opposed to a replacement) with a note about checking your Unity version is the way to go.
Tracking down a problem with the latest upgrade. Because of a resolve failure, the arguments to a field are included in an error map; one value is a java.time.LocalDateTime. Cheshire throws an exception when streaming this as JSON, and the final result is a response with a body that is the empty string.
The right solution is to use cheshire.generator/add-encoder
:
(add-encoder LocalDa
Description
What is the current behavior?
There is currently no top padding, so the array inputs are butting into each other.
What is the expected behavior?
There should be an 8px top margin to match other inputs.
Reproduction
- Open the editor
- Add an array property
- Click the + to add more
- Observe
Evidence
 can be installed using it and it would be very nice to add Clojure on the BEAM to the mix.
Documentation to create asdf plugins here.
Repository created [here](https://github.co
When defining a resource, I leave a lot of decision points at their default value (by not implementing them). The default paths could be indicated on the decision graph with a different colour.
This would save a lot of time going back and forth between the graph an this table.
, and then without, in that order. If either connection succeeds, the database details are accepted as valid. Yes, you can add driver specific JDBC options to use SSL, but there is no good feed