-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
139 lines (136 loc) · 12.6 KB
/
index.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
<html lang="en-US">
<head> <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>Z.Haskell</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/assets/css/just-the-docs-default.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
#main-header{display:flex;height:60px;background:none;border-bottom:1px solid #eeebee;}
.z-button{margin-top:48px;display:inline-block;background:#7253ed;color:#FFF;border-radius:4px;padding:14px 32px;font-size:20px;}
.z-button:hover{background:#5739ce;}
.z-h3{margin-bottom:0.3em}
.z-footer-text{display:inline-block; font-size:18px;vertical-align:middle;width:80px;}
.z-footer-text-long{display:inline-block; font-size:18px;vertical-align:middle;width:100%;margin-top:4px}
.z-footer-link{display:inline-block; text-decoration:none;vertical-align:middle;margin-right:4px;}
.z-footer-linkgroup{margin-bottom:12px;}
.z-lib-group{display:inline-block;width:30%;min-width:72px;padding: 12px}
.z-lib-group p{margin: 0; word-break: break-word;}
.z-feature-box{flex:1; padding: 24px 28px}
.z-feature-box p{color:#fff;margin: 0 0 4px}
.z-feature-box h2{color:#fff; margin: 0 0 24px;}
.z-aux-nav{padding-left: 60px;}
.z-aux-nav:before{
content: "";
width: 60px;
height: 60px;
position: absolute;
left: 0;
top: 0;
background-image: url("https://avatars.githubusercontent.com/u/38765559?s=200&v=4");
background-size: contain;
}
</style>
</head>
<body>
<nav role="navigation" class="main-header" id="main-header">
<div class="aux-nav z-aux-nav">
<a href="/" class="site-button">
<span style="font-size:24px;color:#000;">Z</span>
<span style="font-size:24px;">.Haskell</span>
</a>
</div>
<div class="aux-nav">
<ul class="aux-nav-list">
<li class="aux-nav-list-item">
<a href="https://z.haskell.world/" class="site-button">En</a>
</li>
<li class="aux-nav-list-item">
<a href="/guide" class="site-button">教程</a>
</li>
<li class="aux-nav-list-item">
<a href="/blog" class="site-button">博客</a>
</li>
<li class="aux-nav-list-item">
<a href="https://github.com/ZHaskell" class="site-button">GitHub</a>
</li>
</ul>
</div>
</nav>
<div style="position:relative;padding:64px 12px;text-align:center;background:#f5f6fa;overflow:hidden;">
<svg style="position:absolute;top:0;right:-60px;height:100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="481.8897pt" height="340.1574pt" viewBox="0 0 481.8897 340.1574" version="1.1"> <defs> <clipPath id="clip1"> <path d="M 0 340.15625 L 481.890625 340.15625 L 481.890625 0 L 0 0 L 0 340.15625 Z M 0 340.15625 "/> </clipPath> </defs> <g id="surface0"> <g clip-path="url(#clip1)" clip-rule="nonzero"> <path style=" stroke:none;fill-rule: nonzero; fill: rgb(100%,100%,100%); fill-opacity: 1;" d="M 0 340.15625 L 113.386719 170.078125 L 0 0 L 85.039062 0 L 198.425781 170.078125 L 85.039062 340.15625 L 0 340.15625 Z M 0 340.15625 "/> <path style=" stroke:none;fill-rule: nonzero; fill: rgb(100%,100%,100%); fill-opacity: 0.6;" d="M 113.386719 340.15625 L 226.773438 170.078125 L 113.386719 0 L 198.425781 0 L 425.195312 340.15625 L 340.15625 340.15625 L 269.292969 233.859375 L 198.425781 340.15625 L 113.386719 340.15625 Z M 113.386719 340.15625 "/> <path style=" stroke:none;fill-rule: nonzero; fill: rgb(100%,100%,100%); fill-opacity: 1;" d="M 387.402344 240.945312 L 349.609375 184.253906 L 481.890625 184.25 L 481.890625 240.945312 L 387.402344 240.945312 Z M 387.402344 240.945312 "/> <path style=" stroke:none;fill-rule: nonzero; fill: rgb(100%,100%,100%); fill-opacity: 1;" d="M 330.710938 155.90625 L 292.914062 99.214844 L 481.890625 99.210938 L 481.890625 155.90625 L 330.710938 155.90625 Z M 330.710938 155.90625 "/> </g> </g> </svg>
<h1 style="position:relative">简洁 / 高性能 / 现代的 Haskell 工程套件</h1>
<h3 style="position:relative" class="z-h3">Z.Haskell 是使用 Haskell 编写的高性能、易用的函数库</h3>
<h3 style="position:relative" class="z-h3">为编写快速、可靠的软件提供丰富的 API</h3>
<a style="position:relative" class="z-button" href="/guide">起步!</a>
</div>
<div style="display:flex;overflow:hidden;color:#FFF;">
<div class="z-feature-box" style="background:#FF508F;">
<h2>快如闪电</h2>
<p><i>M</i> GHC lightweight threads scale on <i>N</i> event loops</p>
<p>Serve applications at faster speed with less CPU/memory</p>
</div>
<div class="z-feature-box" style="background:#FF8A64;">
<h2>简洁,优雅</h2>
<p>以纯函数式程序设计语言 <i>Haskell</i> 写就</p>
<p>Declarative coding with concise and composable types</p>
</div>
<div class="z-feature-box" style="background:#FFC552;">
<h2>现代的实现</h2>
<p>Cross-platform IO, UTF8 based text processing</p>
<p>Best practices from years of engineering design</p>
</div>
</div>
<div style="display:flex">
<div style="padding:24px 32px;line-height:24px;flex:50">
<div class="z-footer-linkgroup">
<span class="z-footer-text">联系我们</span>
<a class="z-footer-link" href="//github.com/ZHaskell">
<svg width="28px" height="28px" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path class="tk-svg-path" d="M896 128q209 0 385.5 103t279.5 279.5 103 385.5q0 251-146.5 451.5t-378.5 277.5q-27 5-40-7t-13-30q0-3 .5-76.5t.5-134.5q0-97-52-142 57-6 102.5-18t94-39 81-66.5 53-105 20.5-150.5q0-119-79-206 37-91-8-204-28-9-81 11t-92 44l-38 24q-93-26-192-26t-192 26q-16-11-42.5-27t-83.5-38.5-85-13.5q-45 113-8 204-79 87-79 206 0 85 20.5 150t52.5 105 80.5 67 94 39 102.5 18q-39 36-49
103-21 10-45 15t-57 5-65.5-21.5-55.5-62.5q-19-32-48.5-52t-49.5-24l-20-3q-21 0-29 4.5t-5 11.5 9 14 13 12l7 5q22 10 43.5 38t31.5 51l10 23q13 38 44 61.5t67 30 69.5 7 55.5-3.5l23-4q0 38 .5 88.5t.5 54.5q0 18-13 30t-40 7q-232-77-378.5-277.5t-146.5-451.5q0-209 103-385.5t279.5-279.5 385.5-103zm-477 1103q3-7-7-12-10-3-13 2-3 7 7 12 9 6 13-2zm31 34q7-5-2-16-10-9-16-3-7 5 2 16 10 10 16 3zm30 45q9-7 0-19-8-13-17-6-9 5 0 18t17 7zm42 42q8-8-4-19-12-12-20-3-9 8 4 19 12 12 20 3zm57
25q3-11-13-16-15-4-19 7t13 15q15 6 19-6zm63 5q0-13-17-11-16 0-16 11 0 13 17 11 16 0 16-11zm58-10q-2-11-18-9-16 3-14 15t18 8 14-14z" fill="#27262b"></path></svg>
</a>
<a class="z-footer-link" href="//gitter.im/Z-Haskell/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link">
<svg version="1.1" width="24px" height="24px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 18 25" class="logo-gitter-sign" data-v-44ebcb1a=""><rect x="15" y="5" width="2" height="10"></rect> <rect x="10" y="5" width="2" height="20"></rect> <rect x="5" y="5" width="2" height="20"></rect> <rect width="2" height="15"></rect></svg>
</a>
</div> <div class="z-footer-linkgroup">
<span class="z-footer-text">Sponsor</span>
<a class="z-footer-link" href="//emqx.cn">
<svg viewBox="0 0 3308 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="60px" height="20px"><defs><style type="text/css"></style></defs><path d="M1752.615385 614.4L1453.292308 59.076923H1299.692308v905.846154h141.784615V315.076923l271.753846 492.307692h78.769231L2059.815385 315.076923v649.846154H2205.538462v-905.846154h-153.6zM3198.030769 685.292308c19.692308-55.138462
31.507692-110.276923 31.507693-173.292308 0-55.138462-11.815385-114.215385-31.507693-165.415385-19.692308-55.138462-51.2-102.4-86.646154-145.723077-39.384615-43.323077-82.707692-78.769231-137.846153-106.338461-51.2-27.569231-110.276923-39.384615-177.23077-39.384615-63.015385 0-122.092308 11.815385-173.292307 39.384615-51.2 23.630769-98.461538 59.076923-137.846154 102.4s-66.953846 90.584615-90.584616 145.723077c-19.692308 51.2-31.507692 110.276923-31.507692
169.353846s11.815385 114.215385 31.507692 169.353846 51.2 102.4 86.646154 145.723077c39.384615 43.323077 82.707692 74.830769 137.846154 102.4 51.2 27.569231 110.276923 39.384615 177.230769 39.384615 43.323077 0 86.646154-7.876923 126.03077-19.692307s74.830769-31.507692 110.276923-55.138462l59.076923 66.953846H3229.538462L3111.384615 827.076923c35.446154-39.384615 63.015385-90.584615 86.646154-141.784615z m-129.969231-59.076923c-11.815385 35.446154-27.569231
70.892308-51.2 98.461538L2953.846154 649.846154h-137.846154l129.969231 149.661538c-19.692308 11.815385-43.323077 23.630769-66.953846 31.507693-23.630769 7.876923-51.2 11.815385-78.769231 11.815384-43.323077 0-82.707692-7.876923-118.153846-27.569231-35.446154-19.692308-66.953846-43.323077-90.584616-74.830769-23.630769-31.507692-43.323077-66.953846-59.076923-106.338461-11.815385-39.384615-19.692308-82.707692-19.692307-122.092308s7.876923-82.707692 19.692307-122.092308
31.507692-74.830769 55.138462-106.338461c23.630769-31.507692 55.138462-55.138462 90.584615-74.830769 35.446154-19.692308 74.830769-27.569231 122.092308-27.569231 43.323077 0 82.707692 7.876923 118.153846 27.569231 35.446154 19.692308 66.953846 43.323077 90.584615 74.830769 23.630769 31.507692 43.323077 66.953846 59.076923 106.338461 11.815385 39.384615 19.692308 82.707692 19.692308 122.092308-3.938462 39.384615-11.815385 74.830769-19.692308 114.215385zM1067.323077
102.4H311.138462h-3.938462c-39.384615 0-70.892308 31.507692-70.892308 70.892308s31.507692 70.892308 70.892308 70.892307h760.123077c39.384615 0 70.892308-31.507692 70.892308-70.892307s-31.507692-70.892308-70.892308-70.892308zM1067.323077 779.815385H311.138462h-3.938462c-39.384615 0-70.892308 31.507692-70.892308 70.892307s31.507692 70.892308 70.892308 70.892308h760.123077c39.384615 0 70.892308-31.507692 70.892308-70.892308s-31.507692-70.892308-70.892308-70.892307zM803.446154
582.892308c35.446154-3.938462 63.015385-35.446154 63.015384-70.892308s-27.569231-66.953846-63.015384-70.892308H153.6h-3.938462c-39.384615 0-70.892308 31.507692-70.892307 70.892308s31.507692 70.892308 70.892307 70.892308h653.784616z" p-id="2737" fill="#27262b"></path></svg>
</a>
</div>
<div class="z-footer-linkgroup">
<span class="z-footer-text-long">遵循 <a href="https://github.com/ZHaskell/docs-zh/blob/master/LICENSE">BSD 协议</a>发行</span>
</div>
</div>
<div style="padding: 24px;line-height:24px;flex:50">
<div class="z-lib-group">
<p>Z-IO</p> <a href="//github.com/ZHaskell/z-io">GitHub</a>
<p><a href="//hackage.haskell.org/package/Z-IO">Haddock</a></p>
</div>
<div class="z-lib-group">
<p>Z-Data</p> <a href="//github.com/ZHaskell/z-data">GitHub</a>
<p><a href="//hackage.haskell.org/package/Z-Data">Haddock</a></p>
</div>
<div class="z-lib-group">
<p>Z-Botan</p> <a href="//github.com/ZHaskell/z-botan">GitHub</a>
<p><a href="//hackage.haskell.org/package/Z-Botan">Haddock</a></p>
</div>
<div class="z-lib-group">
<p>Z-MessagePack</p> <a href="//github.com/ZHaskell/z-messagepack">GitHub</a>
<p><a href="//hackage.haskell.org/package/Z-MessagePack">Haddock</a></p>
</div>
<div class="z-lib-group">
<p>Z-YAML</p> <a href="//github.com/ZHaskell/z-yaml">GitHub</a>
<p><a href="//hackage.haskell.org/package/Z-YAML">Haddock</a></p>
</div>
</div>
</div>
</body>
</html>