用 Haskell 的 list comprehension 來解某數學愛好者社團的某題目。
執行結果
$ ghc -o solution solution.hs && ./solution
[[D,A,D,B,B,D,C,C,D,C]]| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| // munged from https://github.com/simontime/Resead | |
| namespace sead | |
| { | |
| class Random | |
| { |
| -- Thank @sbengo to figure out foreign_keys constraints is defaults to false in sqlite | |
| -- Enable to delete logs by cascading delete | |
| PRAGMA foreign_keys = ON; | |
| WITH n_build_ids_per_repo as ( | |
| SELECT build_id | |
| FROM ( | |
| SELECT | |
| build_id, | |
| build_repo_id, |
用 Haskell 的 list comprehension 來解某數學愛好者社團的某題目。
$ ghc -o solution solution.hs && ./solution
[[D,A,D,B,B,D,C,C,D,C]]Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: