Skip to content

Commit

Permalink
-Updated references.
Browse files Browse the repository at this point in the history
- Moved assignments and endnotes to md
  • Loading branch information
Kannan Ramamoorthy committed May 23, 2020
1 parent 1831e2c commit 91ce8da
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 65 deletions.
31 changes: 31 additions & 0 deletions Assignments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

## Practice:

- Write a function that finds sum of square of all elements in a vector
- Read and practice filter operation
- Read about function docstring and add docstring for the function you have just written
- Solve the first problem of project euler https://projecteuler.net/problem=1

## To get a conceptual grasp:

- Read further about immutable datastructures
- Read further about pure functions

## Some articles related to LISP/Functional Programming:

- Beating the Averages - http://www.paulgraham.com/avg.html - An article on how LISP helped Paul G to stay as a productive and beat his competitors.
- An Hypothetical Conversation between an Functional programmer and an imperative programmer http://sriku.org/blog/2019/03/07/a-hypothetical-conversation-with-an-imperative-programmer/

## References for further studies:

- Official documentation on the Clojure constructs and concepts - https://clojure.org/reference
- "Getting Clojure: Build Your Functional Skills One Idea at a Time" by Russ Olsen
- Curated list of references by Dmitri Sotnikov - https://gist.github.com/yogthos/be323be0361c589570a6da4ccc85f58f


## Further Practices:

- https://purelyfunctional.tv/ - Weekly newsletter with practices problems. Also has paid materials.
- http://www.4clojure.com/problems - Problems at all levels
- https://projecteuler.net/ - Good to get a hold of the language.
- http://clojurescriptkoans.com/ - Good for beginners
6 changes: 6 additions & 0 deletions End_Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

## End Notes:
- Post your feebacks for improvement and what you look forward in the meetup page.
- Take time to practice the assignments.
- Make use of the `#beginners` group in [clojurians.net slack channel](http://clojurians.net).
- The suggestions we recieve from you will be one of the driving factor for the upcoming sessions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
;; get comfortable with the syntax
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; About s-expression
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;; Add
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(+ 1 2)
Expand Down
File renamed without changes.
27 changes: 1 addition & 26 deletions src/gitpod/s06_namespace_and_var.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,6 @@
(:use clojure.repl))


;; namespace and vars
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Comparable to the Java packages.
;; All the function/var defintions will be under its particular namespace
(do
(ns some-space) ;; switch to a namespace
(println *ns*) ;; Print the name of namespace
(def var1 1)) ;; Define a variable in the namespace

;; EDITOR SWITCHES BACK TO THE CURRENT FILE'S NAMESPACE
*ns*

;; Won't work
var1

;; Since you're in different name spalce
;;
some-space/var1

;; NOTES:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Typically used to create static constants and not meant to be changed
;; And not to be used like we use variables in other languages


;; let binding
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Use let to have local references
Expand All @@ -44,5 +19,5 @@ sum


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; NOTE: There are additional reference types such as Atoms, Refs.
;; NOTE: There are reference types such as Var, Atoms and Refs.
;; We'll get there in the upcoming sessions
30 changes: 0 additions & 30 deletions src/gitpod/s10_assignment.clj

This file was deleted.

9 changes: 0 additions & 9 deletions src/gitpod/s11_end_notes.clj

This file was deleted.

0 comments on commit 91ce8da

Please sign in to comment.