List of materials on Software Design in Haskell
Other resources that are good, but not necessarry about Software Design
- Testing | Monday Morning Haskell
data User = User | |
{ firstName :: String | |
, secondName :: String | |
} | |
-- The User data type has field firstName, it's a string. | |
-- firstName :: User -> String | |
-- secondName :: User -> String |
List of materials on Software Design in Haskell
Other resources that are good, but not necessarry about Software Design
(WIP)
// | |
// See https://github.com/louthy/language-ext | |
// | |
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using LanguageExt; | |
using static LanguageExt.Prelude; |
{ | |
"entries": [ | |
[ | |
0, | |
{ | |
"tag": "Normal" | |
}, | |
"GenerateGUIDEntry", | |
"{\"contents\":{\"guid\":\"662ed4a1-950b-48cd-a91d-1091342070d9\"},\"tag\":\"GenerateGUIDEntry\"}" | |
], |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDecJ7pnlH12W8XFJ4nGl7tZomX6esTqrzAZoTLs6ZRn8baYOKwWf57w6uSts4x0xMfVrO5YZtlBA6YSA7ysqiVLkvjCGoWbUw5goJi3kCUnQewuBy0ukobz6i/ZIEJ8vxejNggmRkQnyitBCd7nnvaCWgwDonJj4W1r77xarWvtz3QjjpGMG59i+xjuQ3Fi7sqRmwgQmBcWyo2cerA3aU4BbhmDS6tSHO2gH7I7VmII3mZX+p+0ITBGyfLgCYI85/qugR9rgK79lwEYrAuLkzxj8FArrLQWtgqfshriZRT1lBabh6dX9PWN+ArNseZVgKeycUngKclANYbl3HVfglZ |
#Knuth arrows in C++ metaprogramming.
Two implementations of Knuth's arrows using constexpr
and template metaprogramming.
#include <iostream>
constexpr int sum (int a, int b)
{
return a + b;
}
constexpr int ediv (int a, int b)
{