All Projects → scala-exercises → exercises-monocle

scala-exercises / exercises-monocle

Licence: Apache-2.0, Apache-2.0 licenses found Licenses found Apache-2.0 LICENSE Apache-2.0 LICENSE.md
Scala Exercises for the Scala Optics library Monocle http://julien-truffaut.github.io/Monocle/

Programming Languages

scala
5932 projects

Projects that are alternatives of or similar to exercises-monocle

Lambda
Functional patterns for Java
Stars: ✭ 737 (+6041.67%)
Mutual labels:  lenses
Elm Monocle
Functional abstractions to manipulate complex records in Elm - Iso, Prism, Lens, Optional, Traversal.
Stars: ✭ 137 (+1041.67%)
Mutual labels:  lenses
xml-lens
XML Optics library for Scala
Stars: ✭ 32 (+166.67%)
Mutual labels:  lenses
Lens
A Racket package for creating and composing pure functional lenses
Stars: ✭ 54 (+350%)
Mutual labels:  lenses
Lens Regex Pcre
Text lenses using PCRE regexes
Stars: ✭ 116 (+866.67%)
Mutual labels:  lenses
Documentation
How does it all fit together?
Stars: ✭ 177 (+1375%)
Mutual labels:  lenses
Monocle Ts
Functional optics: a (partial) porting of Scala monocle
Stars: ✭ 657 (+5375%)
Mutual labels:  lenses
vault
A typed, persistent store for values of arbitrary types
Stars: ✭ 55 (+358.33%)
Mutual labels:  immutable-datastructures
Typed
The TypeScript Standard Library
Stars: ✭ 124 (+933.33%)
Mutual labels:  lenses
Microlens
A lightweight (but compatible with ‘lens’) lenses library
Stars: ✭ 254 (+2016.67%)
Mutual labels:  lenses
Prolens
👓 Profunctor based lightweight implementation of Lenses
Stars: ✭ 63 (+425%)
Mutual labels:  lenses
Datum
pure functional and generic programming for Erlang
Stars: ✭ 111 (+825%)
Mutual labels:  lenses
Python Lenses
A python lens library for manipulating deeply nested immutable structures
Stars: ✭ 179 (+1391.67%)
Mutual labels:  lenses
Dart functional data
Simple and non-intrusive code generator for lenses and boilerplate of data types
Stars: ✭ 39 (+225%)
Mutual labels:  lenses
lentes
Functional references for Clojure and ClojureScript
Stars: ✭ 80 (+566.67%)
Mutual labels:  lenses
Frunk
Funktional generic type-level programming in Rust: HList, Coproduct, Generic, LabelledGeneric, Validated, Monoid and friends.
Stars: ✭ 725 (+5941.67%)
Mutual labels:  lenses
Sauron
Yet another Scala lens macro
Stars: ✭ 166 (+1283.33%)
Mutual labels:  lenses
futils
Utilities for generic functional programming
Stars: ✭ 21 (+75%)
Mutual labels:  lenses
lenticular.ts
(Yet another) implementation of functional lenses in JavaScript/TypeScript.
Stars: ✭ 29 (+141.67%)
Mutual labels:  lenses
Focus
Lightweight Elixir lenses
Stars: ✭ 224 (+1766.67%)
Mutual labels:  lenses

Scala Exercises - Monocle

This repository hosts a template content library for the Scala Exercises platform, including interactive exercises related to the Monocle optics library for Scala (and Scala.js).


Run Locally

  • Clone this repository, compile and publish the project:
git clone [email protected]:scala-exercises/exercises-monocle.git
cd exercises-monocle/
sbt compile publishLocal # it is important to first run the `compile` command alone
  • Clone the evaluator and run it:
git clone [email protected]:scala-exercises/evaluator.git
cd evaluator/
sbt "project evaluator-server" run
  • Clone the scala-exercises fork:
git clone [email protected]:scala-exercises/scala-exercises.git
  • Follow the database setup instructions given here

  • Add the following line the server/conf/application.dev.conf:

evaluator.secretKey="secretKey"
  • Run the server:
sbt -mem 1500 run

About Scala exercises

"Scala Exercises" brings exercises for the Stdlib, Cats, Shapeless and many other great libraries for Scala to your browser. Offering hundreds of solvable exercises organized into several categories covering the basics of the Scala language and it's most important libraries.

Scala Exercises is available at scala-exercises.org.

Contributing

Contributions welcome! Please join our Gitter channel to get involved, or visit our GitHub site.

License

Copyright (C) 2015-2016 47 Degrees, LLC. Reactive, scalable software solutions. http://47deg.com [email protected]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].