Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 292326

Clojure is a general-purpose language supporting interactive development that encourages a functional programming style, and simplifies multithreaded programming.

-3 votes
2 answers
134 views

How can we handle inserts/delete cases using Map like data structures in FP?

Let's say, that we keep track of students entering the auditorium using their IDs(Key) and their check-in time(Value) in a Map. We delete the entries once they move out of the auditorium. I want to kn …
Vicky's user avatar
  • 399
37 votes
7 answers
9k views

What are the functional equivalents of imperative break statements and other loop checks?

But, I have a logic similar to the above written in Java and would like to migrate that to functional code in Clojure. …
Vicky's user avatar
  • 399
2 votes
3 answers
899 views

Can functional programming used for solving problems which require randomness?

Could anyone please demonstrate it with a code snippet in Haskell/Clojure etc? …
Vicky's user avatar
  • 399
1 vote
0 answers
87 views

How Functional Programming addresses concurrent increment/decrement operations invoked by di... [duplicate]

Using Functional language, How can 2 different parties achieve the result of increment/decrement operations concurrently? For the below scenario, Let's say, I've 2 quantities in stock and 2 users in …
Vicky's user avatar
  • 399
1 vote
2 answers
873 views

How Functional Programming addresses concurrent increment/decrement operations invoked by di...

Using Functional language, How can 2 different parties achieve the result of increment/decrement operations concurrently? For the below scenario, Let's say, I've 2 quantities in stock and 2 users in …
Vicky's user avatar
  • 399