This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module(monad). | |
-export([ monad_context/2, putst/1, getst/0, lift/0, return/1 ]). | |
-export([ test/0 ]). | |
%%%%%%%%%%%%%%%%%%%%% Erlang Monad %%%%%%%%%%%%%%%%%%%%%% | |
%% Working on a simple monad implementation for Erlang %% | |
%% %% | |
%% Just for fun I tried whipping up a simple erlang %% | |
%% monad. It uses the process dictionary and I haven't %% | |
%% implemented lift and many children of a monad state %% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# <bitbar.title>Kubeconfig Context Changer</bitbar.title> | |
# <bitbar.version>v1.0</bitbar.version> | |
# <bitbar.author>Chris Opland</bitbar.author> | |
# <bitbar.author.github>copland</bitbar.author.github> | |
# <bitbar.desc>Displays active kubeconfig context and allows you to easily change contexts.</bitbar.desc> | |
# <bitbar.dependencies>python,kubectl</bitbar.dependencies> |
OlderNewer