blob: b46b237f78be4f9068e7ca240fab71b760d40e65 (
plain) (
blame)
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
|
<html xmlns="http://www.w3.org/1999/xhtml"
><head
><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"
/><title
>Bug310</title
><link href="#" rel="stylesheet" type="text/css" title="Ocean"
/><script src="haddock-util.js" type="text/javascript"
></script
><script src="preact.js" type="text/javascript"
></script
><script src="fuse.js" type="text/javascript"
></script
><script src="index.js" type="text/javascript"
></script
><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript"
></script
><script type="text/javascript"
>//
window.onload = function () {pageLoad();};
//
</script
></head
><body
><div id="package-header"
><ul class="links" id="page-menu"
><li
><a href="#"
>Contents</a
></li
><li
><a href="#"
>Index</a
></li
></ul
><p class="caption empty"
></p
></div
><div id="content"
><div id="module-header"
><table class="info"
><tr
><th
>Safe Haskell</th
><td
>Safe</td
></tr
></table
><p class="caption"
>Bug310</p
></div
><div id="synopsis"
><p id="control.syn" class="caption expander" onclick="toggleSection('syn')"
>Synopsis</p
><ul id="section.syn" class="hide" onclick="toggleSection('syn')"
><li class="src short"
><span class="keyword"
>type family</span
> (a :: <a href="#"
>Nat</a
>) <a href="#"
>+</a
> (b :: <a href="#"
>Nat</a
>) :: <a href="#"
>Nat</a
> <span class="keyword"
>where ...</span
></li
></ul
></div
><div id="interface"
><h1
>Documentation</h1
><div class="top"
><p class="src"
><span class="keyword"
>type family</span
> (a :: <a href="#"
>Nat</a
>) <a id="t:-43-" class="def"
>+</a
> (b :: <a href="#"
>Nat</a
>) :: <a href="#"
>Nat</a
> <span class="keyword"
>where ...</span
> <span class="fixity"
>infixl 6</span
><span class="rightedge"
></span
> <a href="#" class="selflink"
>#</a
></p
><div class="doc"
><p
>Addition of type-level naturals.</p
></div
></div
></div
></div
><div id="footer"
></div
></body
></html
>
|