Skip to main content

User account menu

Show — User account menu Hide — User account menu
  • Log in
Home
code.metcarob.com
Robert Metcalf's Personal Notebook and Blog Site

Search

@metcarob on Twitter
rmetcalf9 on GitHub and GitLab
robertjamesmetcalf on LinkedIn

Main navigation

Show — Main navigation Hide — Main navigation
  • My Blog
  • All Rough Content
  • Taxonomy

Breadcrumb

  1. Home
  2. Node

Clojure Programming notes

Submitted by code_admin on Wed, 07/25/2018 - 15:50

Set new atom value

  1. (defn set-new-atom-value [atom newval] (
  2.   swap! atom (fn [arg1 arg2] arg2) newval)
  3. )
  4.  
  5. ;Above NOT NEEDED, use reset (set-new-atom-value is the same)

Tags

  • Clojure
RJM Article Type
Quick Reference

Roberts Blog

30-Dec-20 How can growing a startup engineering team slow down production?
23-Dec-20 Introducing Challengeswipe.com
28-Oct-20 3 Ways for Container based microservices to verify JWT tokens
01-Jun-20 Building and Testing Caching Object Store
18-May-20 Adding Caching to my DynamoDB based saas app
08-Mar-20 How the URL frees your data from documents!
01-Mar-20 How do you keep track of your integrations?
23-Aug-19 How my microservice approach to DynamoDB accidentally beat vendor lock-in!
17-Jul-19 API thinking Vs SOA thinking
03-May-19 Getting around mixed content errors when using Snaplogic XML Parser

My Rough Content

Show — My Rough Content Hide — My Rough Content
  • Work Notes
  • Quick Reference
  • Step by Step
  • Useful List
  • Public Article
Powered by Drupal