sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
| "Monads are Monoids in the Category of Endofunctors" | |
| If you are a functional programmer, you've probably heard this statement before. | |
| To understand it, first we need to understand its component parts: | |
| . Category | |
| . Monoid | |
| . Endofunctor | |
| After this, we will glue those parts together piece by piece to grasp the whole. |
| //Functional programming is programming combining functions. | |
| // | |
| //We have a bunch of simple functions, then combine them into | |
| //more and more complex functions until have a full program. | |
| // | |
| //The simplest case is when the functions are COMPOSABLE, for example, given the functions: | |
| f: A => B | |
| g: B => C | |
| h: C => D |
| # -*- coding: utf-8 -*- | |
| from flask import Flask, request, render_template, current_app | |
| from flask_wtf import Form | |
| from wtforms.validators import DataRequired | |
| from wtforms import SelectField, SelectMultipleField, SubmitField | |
| app = Flask(__name__) |