とりこびとさんの名エントリシリーズ「データバインディングのおべんきょ」を簡単に見るためのインデックスです。
This file contains hidden or 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
(* | |
Optionに見るコンピュテーション式のつくり方 - ぐるぐる~ | |
http://bleis-tift.hatenablog.com/entry/how-to-make-computation-expression | |
のmatchSomeからこんぴゅーてーしょん式への変換過程の私なりの理解 | |
*) | |
let niceFunction (arg1 arg2 arg3) = | |
matchSome (f arg1), (fun x -> | |
matchSome (g arg2), (fun y -> | |
matchSome (h arg3), (fun z -> |
This file contains hidden or 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
package Mojolicious::Plugin::Charset; | |
use Mojo::Base 'Mojolicious::Plugin'; | |
sub register { | |
my ($self, $app, $conf) = @_; | |
return unless my $c = $conf->{charset}; | |
return unless my $e = $conf->{encoding}; | |
$app->types->type(html => "text/html;charset=$c"); |
This file contains hidden or 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 FizzBuzz | |
{ | |
public class FizzBuzzer | |
{ | |
public FizzBuzzer() | |
{ | |
} |
This file contains hidden or 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; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace FizzBuzz.Test | |
{ | |
[TestClass] | |
public class FizzBuzzTest | |
{ | |
private FizzBuzzer fizzBuzzer; |
This file contains hidden or 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; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace FizzBuzz.Test | |
{ | |
[TestClass] | |
public class FizzBuzzTest | |
{ | |
private FizzBuzzer fizzBuzzer; |
This file contains hidden or 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 FizzBuzz | |
{ | |
public class FizzBuzzer | |
{ | |
public FizzBuzzer() | |
{ | |
} |
This file contains hidden or 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; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace FizzBuzz.Test | |
{ | |
[TestClass] | |
public class FizzBuzzTest | |
{ | |
[TestMethod] | |
public void 引数が1の場合文字列で1を返す() |
This file contains hidden or 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; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace FizzBuzz.Test | |
{ | |
[TestClass] | |
public class FizzBuzzTest | |
{ | |
[TestMethod] | |
public void 引数が1の場合文字列で1を返す() |
This file contains hidden or 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 FizzBuzz | |
{ | |
public class FizzBuzzer | |
{ | |
public FizzBuzzer() | |
{ | |
} |