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
-- sqlite | |
CREATE TABLE IF NOT EXISTS calendar ( | |
d date UNIQUE NOT NULL, | |
dayofweek INT NOT NULL, | |
weekday TEXT NOT NULL, | |
quarter INT NOT NULL, | |
year INT NOT NULL, | |
month INT NOT NULL, | |
day INT NOT NULL | |
); |
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
using System; | |
namespace pipe_sharp | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var total = Pipe<int> | |
.Take(12) |
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
import Html exposing (text) | |
multBy x = | |
(*) x | |
biggerThan x = | |
(<) x | |
nums = | |
[1,2,3] |