-
Notifications
You must be signed in to change notification settings - Fork 53
/
about.html
198 lines (180 loc) · 10.2 KB
/
about.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!DOCTYPE html>
<html lang="en">
<head>
<title> Scala Puzzlers </title>
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/prettify.css" type="text/css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/prettify.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-31486114-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50">
<!-- Navbar
================================================== -->
<div class="navbar navbar-fixed-top">
<a target="_blank" href="https://github.com/scalapuzzlers/scalapuzzlers.github.com">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub">
</a>
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/">Scala ?uzz<img src="img/l.png" alt="l" style="padding-bottom:10px;padding-left:2px;padding-right:2px"/>ers</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li>
<a id="navbar-home" href="index.html">Home</a>
</li>
<li>
<a id="navbar-archive" href="archive.html">Archive</a>
</li>
<li>
<a id="navbar-contribute" href="contribute.html">How to Contribute</a>
</li>
<li>
<a id="navbar-contact" href="contact.html">Contact</a>
</li>
<li>
<a id="navbar-about" href="about.html">About</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<script type="text/javascript">
String.prototype.endsWith = function(suffix) {
return this.indexOf(suffix, this.length - suffix.length) !== -1;
};
var pathToID = {
"/" : '#navbar-home',
"index.html" : '#navbar-home',
"archive.html" : '#navbar-archive',
"contribute.html" : '#navbar-contribute',
"contact.html" : '#navbar-contact',
"about.html" : '#navbar-about'
};
$(document).ready(function() {
function mapPathToID(path) {
var key;
var id = null;
for (key in pathToID) {
if (path === key) {
id = pathToID[key];
break;
}
}
return id;
};
var id = mapPathToID(window.location.pathname);
if (id != null) {
$(id).addClass("active");
}
});
</script>
<div class="container-fluid">
<div class="row-fluid">
<div class="span3">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Puzzlers</li>
<li><a href="/#pzzlr-001" id="pzzlr-001">Hi There!</a></li>
<li><a href="/#pzzlr-003" id="pzzlr-003">UPSTAIRS downstairs</a></li>
<li><a href="/#pzzlr-004" id="pzzlr-004">Location, Location, Location</a></li>
<li><a href="/#pzzlr-005" id="pzzlr-005">Now You See Me, Now You Don't</a></li>
<li><a href="/#pzzlr-006" id="pzzlr-006">The Missing List</a></li>
<li><a href="/#pzzlr-007" id="pzzlr-007">Arg Arrgh!</a></li>
<li><a href="/#pzzlr-008" id="pzzlr-008">Captured by Closures</a></li>
<li><a href="/#pzzlr-009" id="pzzlr-009">Map Comprehension</a></li>
<li><a href="/#pzzlr-010" id="pzzlr-010">Init You, Init Me</a></li>
<li><a href="/#pzzlr-011" id="pzzlr-011">A Case of Equality</a></li>
<li><a href="/#pzzlr-012" id="pzzlr-012">If At First You Don't Succeed...</a></li>
<li><a href="/#pzzlr-013" id="pzzlr-013">To Map, or Not to Map</a></li>
<li><a href="/#pzzlr-015" id="pzzlr-015">Private Lives</a></li>
<li><a href="/#pzzlr-016" id="pzzlr-016">Self: See 'Self'</a></li>
<li><a href="/#pzzlr-017" id="pzzlr-017">One Egg or Two..?</a></li>
<li><a href="/#pzzlr-018" id="pzzlr-018">Return to Me!</a></li>
<li><a href="/#pzzlr-019" id="pzzlr-019">Implicitly Surprising</a></li>
<li><a href="/#pzzlr-020" id="pzzlr-020">One Bound, Two to Go</a></li>
<li><a href="/#pzzlr-021" id="pzzlr-021">Views From the Top</a></li>
<li><a href="/#pzzlr-022" id="pzzlr-022">Count Me Now, Count Me Later</a></li>
<li><a href="/#pzzlr-023" id="pzzlr-023">Information Overload</a></li>
<li><a href="/#pzzlr-024" id="pzzlr-024">What's in a Name?</a></li>
<!-- 26 'reserved' for Scalaz - suggestion by A.P. Marki -->
<li><a href="/#pzzlr-027" id="pzzlr-027">I Can Has Padding?</a></li>
<li><a href="/#pzzlr-028" id="pzzlr-028">Cast Away</a></li>
<li><a href="/#pzzlr-029" id="pzzlr-029">Pick an Int, Any Int!</a></li>
<li><a href="/#pzzlr-030" id="pzzlr-030">Double Trouble</a></li>
<li><a href="/#pzzlr-032" id="pzzlr-032">Type Extortion</a></li>
<li><a href="/#pzzlr-033" id="pzzlr-033">Implicit Kryptonite</a></li>
<li><a href="/#pzzlr-034" id="pzzlr-034">All's Well That Folds Well</a></li>
<li><a href="/#pzzlr-035" id="pzzlr-035">A Case of Strings</a></li>
<li><a href="/#pzzlr-036" id="pzzlr-036">Adaptive Reasoning</a></li>
<li><a href="/#pzzlr-037" id="pzzlr-037">A View to a Shill</a></li>
<li><a href="/#pzzlr-039" id="pzzlr-039">Accepts Any Args</a></li>
<li><a href="/#pzzlr-040" id="pzzlr-040">Set the Record Straight</a></li>
<li><a href="/#pzzlr-041" id="pzzlr-041">Signs of Trouble</a></li>
<li><a href="/#pzzlr-042" id="pzzlr-042">The Devil Is in the Defaults</a></li>
<li><a href="/#pzzlr-043" id="pzzlr-043">Market Precedence</a></li>
<li><a href="/#pzzlr-044" id="pzzlr-044">Float or Sink?</a></li>
<li><a href="/#pzzlr-045" id="pzzlr-045">Stringy Conversions</a></li>
<li><a href="/#pzzlr-046" id="pzzlr-046">Size It Up</a></li>
<li><a href="/#pzzlr-047" id="pzzlr-047">A Listful of Dollars</a></li>
<li><a href="/#pzzlr-048" id="pzzlr-048">One, Two, Skip a Few</a></li>
<li><a href="/#pzzlr-049" id="pzzlr-049">Oddly Enough</a></li>
<li><a href="/#pzzlr-050" id="pzzlr-050">Extract or Fail?</a></li>
<li><a href="/#pzzlr-051" id="pzzlr-051">Well, In This Case...</a></li>
<li><a href="/#pzzlr-052" id="pzzlr-052">Partial Oddity</a></li>
<li><a href="/#pzzlr-053" id="pzzlr-053">Trial and Error</a></li>
<li><a href="/#pzzlr-054" id="pzzlr-054">Think of 1 Card</a></li>
<li><a href="/#pzzlr-055" id="pzzlr-055">Splitting Headache</a></li>
<li><a href="/#pzzlr-056" id="pzzlr-056">An Exceptional Future</a></li>
<li><a href="/#pzzlr-057" id="pzzlr-057">Applied Values</a></li>
<li><a href="/#pzzlr-058" id="pzzlr-058">The Branch Not Taken</a></li>
<li><a href="/#pzzlr-059" id="pzzlr-059">A Result, Finally!</a></li>
<li><a href="/#pzzlr-060" id="pzzlr-060">Unary Quandary</a></li>
<li><a href="/#pzzlr-061" id="pzzlr-061">Heads You Win...</a></li>
<li><a href="/#pzzlr-062" id="pzzlr-062">Identity Crisis</a></li>
<li><a href="/#pzzlr-063" id="pzzlr-063">(Ex)Stream Surprise</a></li>
<li><a href="/#pzzlr-064" id="pzzlr-064">Traversing Travesty</a></li>
<li><a href="/#pzzlr-065" id="pzzlr-065">A Matter of Context</a></li>
<li><a href="/#pzzlr-066" id="pzzlr-066">Inference Hindrance</a></li>
<li><a href="/#pzzlr-067" id="pzzlr-067">Inconstant Constants</a></li>
<li><a href="/#pzzlr-068" id="pzzlr-068">For Each Step...</a></li>
<li><a href="/#pzzlr-069" id="pzzlr-069">Beep Beep...Reversing</a></li>
<li><a href="/#pzzlr-070" id="pzzlr-070">Reductio Ad Absurdum</a></li>
<li><a href="/#pzzlr-071" id="pzzlr-071">Repeat After Me</a></li>
<li class="divider"></li>
</ul>
</div><!--/.well -->
</div><!--/span-->
<div id="prime-space" class="span9">
<div class="headline-unit">
<h2>About</h2>
<p>
This website, which is maintained by <a href="mailto:[email protected]">Andrew Phillips</a> and <a href="https://twitter.com/higherkinded" target="_blank">Nermin Serifovic</a>, has been created with the purpose of collecting scattered examples of Scala puzzlers in a central location on the web to portray some of Scala's quirks. Furthermore, the goal was to educate as well as ultimately help point out areas of the language that could be made less confusing.
<br/><br/>
We would like to extend special thanks to <a href="https://twitter.com/grylix" target="_blank">Dominik Gruntz</a> and <a href="https://twitter.com/SomSnytt" target="_blank">A.P. Marki</a>, who have not only contributed many puzzlers, but also helped make Scala Puzzlers better by providing constant feedback and suggestions.
</p>
</div>
<footer class="footer">
Copyright © 2013, Andrew Phillips and Nermin Serifovic
</footer>
</div>
</div>
</div>
</body>
</html>