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
data Human = Human {h_name :: String} | |
data Neko = Neko {n_name :: String} | |
hello :: Human -> String | |
hello h = "hello, " ++ h_name h | |
{- | |
hello :: Neko -> String | |
hello n = "hello, " ++ n_name n | |
-} |
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
data Human = Human {h_name :: String} | |
data Neko = Neko {n_name :: String} | |
class Hello a where | |
hello :: a -> String | |
instance Hello Human where | |
hello h = "hello, " ++ h_name h | |
instance Hello Neko where |
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
data Human = Human {h_name :: String} | |
data Neko = Neko {n_name :: String} | |
data Inu = Inu {i_name :: String} | |
class Aisatu a where | |
hello :: a -> String | |
goodMorning :: a -> String | |
goodNight :: a -> String | |
instance Aisatu Human where |
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
set number | |
syntax on | |
set smartindent | |
set nobackup | |
set laststatus=2 | |
set tabstop=4 |
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
if has('vim_starting') | |
set nocompatible | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
call neobundle#rc(expand('~/.vim/bundle/')) | |
NeoBundleFetch 'Shougo/neobundle.vim' | |
" 以下にインストールするプラグインを並べていく |
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
#include <bits/stdc++.h> | |
using namespace std; | |
//conversion | |
//------------------------------------------ | |
inline int toInt(string s) {int v; istringstream sin(s);sin>>v;return v;} | |
template<class T> inline string toString(T x) {ostringstream sout;sout<<x;return sout.str();} | |
//typedef | |
//------------------------------------------ |
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
pre.commandline { | |
/*fontの指定(google web font)*/ | |
font-family: 'Source Code Pro' ; | |
/*境界との位置関係を調整*/ | |
margin: 0px 0px 0px 0px; | |
padding: 5px 0px 5px 5px; | |
border: 1px solid #7a7a7a; |
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
# color設定 | |
export LSCOLORS=exfxcxdxbxegedabagacad | |
zstyle ':completion:*' list-colors di=34 ln=35 ex=31 | |
zstyle ':completion:*:kill:*' list-colors \ | |
'=(#b) #([0-9]#)*( *[a-z])*=34=31=33' | |
# 一覧表示の形式設定 | |
zstyle ':completion:*' group-name '' | |
zstyle ':completion:*:descriptions' format '%BCompleting%b %U%d%u' |
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
body { | |
font-family: Verdana "游ゴシック" YuGothic "ヒラギノ角ゴ ProN W3" "Hiragino Kaku Gothic ProN" "メイリオ" Meiryo sans-serif; | |
font-size: 14px; | |
line-height: 22px; | |
word-wrap: break-word; | |
} | |
.entry-content h4 { | |
font-size: 100%; | |
border-bottom: 1px solid #426579; |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | |
<b:skin></b:skin> | |
</head> | |
<body> | |
<b:section id='mainSection'> | |
<b:widget id="Blog1" type="Blog"> | |
<b:includable id="main"> |