-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
165 lines (163 loc) · 15.3 KB
/
index.html
File metadata and controls
165 lines (163 loc) · 15.3 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="generator" content="Hugo 0.70.0" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noodp" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<title>Kyle Cotton</title>
<meta name="Description" content="Kyle Cotton an Informatics student at The University of Edinburgh. Here is my personal site and blog."><meta property="og:title" content="Kyle Cotton" />
<meta property="og:description" content="Kyle Cotton an Informatics student at The University of Edinburgh. Here is my personal site and blog." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://kylecotton.github.io/" />
<meta property="og:updated_time" content="2020-05-12T00:00:00+00:00" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Kyle Cotton"/>
<meta name="twitter:description" content="Kyle Cotton an Informatics student at The University of Edinburgh. Here is my personal site and blog."/>
<meta name="application-name" content="Kyle Cotton">
<meta name="apple-mobile-web-app-title" content="Kyle Cotton"><meta name="theme-color" content="#ffffff"><meta name="msapplication-TileColor" content="#da532c"><link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"><link rel="manifest" href="/site.webmanifest"><link rel="canonical" href="https://kylecotton.github.io/" /><link rel="alternate" href="/index.xml" type="application/rss+xml" title="Kyle Cotton">
<link rel="feed" href="/index.xml" type="application/rss+xml" title="Kyle Cotton"><link rel="stylesheet" href="/lib/normalize/normalize.min.css"><link rel="stylesheet" href="/css/style.min.css"><link rel="stylesheet" href="/lib/fontawesome-free/all.min.css"><link rel="stylesheet" href="/lib/animate/animate.min.css"><script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "https:\/\/kylecotton.github.io\/","inLanguage": "en","author": {
"@type": "Person",
"name": "Kyle Cotton"
},"description": "Kyle Cotton an Informatics student at The University of Edinburgh. Here is my personal site and blog.","image": "https:\/\/kylecotton.github.io\/cover.png","thumbnailUrl": "https:\/\/kylecotton.github.io\/logo.png","name": "Kyle Cotton"
}
</script></head>
<body><script type="text/javascript">(window.localStorage && localStorage.getItem('theme') ? localStorage.getItem('theme') === 'dark' : ('dark' === 'auto' ? window.matchMedia('(prefers-color-scheme: dark)').matches : 'dark' === 'dark')) && document.body.setAttribute('theme', 'dark');</script>
<div id="mask"></div><div class="wrapper"><header class="desktop" id="header-desktop">
<div class="header-wrapper">
<div class="header-title">
<a href="/" title="Kyle Cotton">Kyle Cotton</a>
</div>
<div class="menu">
<div class="menu-inner"><a class="menu-item" href="/posts/"> Posts </a><a class="menu-item" href="/tags/"> Tags </a><a class="menu-item" href="/categories/"> Categories </a><a class="menu-item" href="/about/" title="About"> About </a><span class="menu-item delimiter"></span><span class="menu-item search" id="search-desktop">
<input type="text" placeholder="Search titles or contents..." id="search-input-desktop">
<a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-desktop" title="Search">
<i class="fas fa-search fa-fw"></i>
</a>
<a href="javascript:void(0);" class="search-button search-clear" id="search-clear-desktop" title="Clear">
<i class="fas fa-times-circle fa-fw"></i>
</a>
<span class="search-button search-loading" id="search-loading-desktop">
<i class="fas fa-spinner fa-fw fa-spin"></i>
</span>
</span><a href="javascript:void(0);" class="menu-item theme-switch" title="Switch Theme">
<i class="fas fa-adjust fa-fw"></i>
</a>
</div>
</div>
</div>
</header><header class="mobile" id="header-mobile">
<div class="header-container">
<div class="header-wrapper">
<div class="header-title">
<a href="/" title="Kyle Cotton">Kyle Cotton</a>
</div>
<div class="menu-toggle" id="menu-toggle-mobile">
<span></span><span></span><span></span>
</div>
</div>
<div class="menu" id="menu-mobile"><div class="search-wrapper">
<div class="search mobile" id="search-mobile">
<input type="text" placeholder="Search titles or contents..." id="search-input-mobile">
<a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-mobile" title="Search">
<i class="fas fa-search fa-fw"></i>
</a>
<a href="javascript:void(0);" class="search-button search-clear" id="search-clear-mobile" title="Clear">
<i class="fas fa-times-circle fa-fw"></i>
</a>
<span class="search-button search-loading" id="search-loading-mobile">
<i class="fas fa-spinner fa-fw fa-spin"></i>
</span>
</div>
<a href="javascript:void(0);" class="search-cancel" id="search-cancel-mobile">
Cancel
</a>
</div><a class="menu-item" href="/posts/" title="">Posts</a><a class="menu-item" href="/tags/" title="">Tags</a><a class="menu-item" href="/categories/" title="">Categories</a><a class="menu-item" href="/about/" title="About">About</a><a href="javascript:void(0);" class="menu-item theme-switch" title="Switch Theme">
<i class="fas fa-adjust fa-fw"></i>
</a></div>
</div>
</header>
<div class="search-dropdown desktop">
<div id="search-dropdown-desktop"></div>
</div>
<div class="search-dropdown mobile">
<div id="search-dropdown-mobile"></div>
</div>
<main class="main">
<div class="container"><div class="page home"><div class="home-profile"><div class="home-avatar"><a href="/posts/" title="Posts"><img
class="lazyload"
src="/svg/loading/small.min.svg"
data-src="https://www.gravatar.com/avatar/45730ba8e751fa1c023c5f74ee20403c?s=240&d=mp"
data-srcset="https://www.gravatar.com/avatar/45730ba8e751fa1c023c5f74ee20403c?s=240&d=mp, https://www.gravatar.com/avatar/45730ba8e751fa1c023c5f74ee20403c?s=240&d=mp 1.5x, https://www.gravatar.com/avatar/45730ba8e751fa1c023c5f74ee20403c?s=240&d=mp 2x"
data-sizes="auto"
alt="Posts"
title="Posts" /></a></div><h2 class="home-subtitle">Hi I'm Kyle CS @ UofE, interested in Computer & Network Security.</h2><div class="social-links"><a href="https://github.com/KyleCotton" title="GitHub" target="_blank" rel="noopener noreffer me"><i class="fab fa-github-alt fa-fw"></i></a><a href="https://t.me/KyleCotton" title="Telegram" target="_blank" rel="noopener noreffer me"><i class="fab fa-telegram-plane fa-fw"></i></a><a href="mailto:kylecottonkc@gmail.com" title="Email" rel=" me"><i class="far fa-envelope fa-fw"></i></a><a href="/index.xml" title="RSS" target="_blank" rel="noopener noreffer me"><i class="fas fa-rss fa-fw"></i></a></div></div>
<article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
<a href="/an-introduction-to-haskell/">An Introduction to Haskell</a>
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw"></i>Kyle Cotton</a></span> <span class="post-publish">
published on <time datetime=24/05/2019>24/05/2019</time>
</span>
<span class="post-category">included in<a href="/categories/haskell-for-beginners/">
<i class="far fa-folder fa-fw"></i>Haskell for Beginners
</a></span></div><div class="content">Welcome to my first post in a series on Haskell. In this series I will be covering a range of beginner topics; the series may continue to me covering more advanced topics.</div><div class="post-footer">
<a href="/an-introduction-to-haskell/">Read More</a><div class="post-tags">
<i class="fas fa-tags fa-fw"></i> <a href="/tags/programming/">Programming</a>, <a href="/tags/tutorial/">Tutorial</a>, <a href="/tags/haskell/">Haskell</a></div></div>
</article>
<article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
<a href="/installing-haskell/">Installing Haskell</a>
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw"></i>Kyle Cotton</a></span> <span class="post-publish">
published on <time datetime=25/05/2019>25/05/2019</time>
</span>
<span class="post-category">included in<a href="/categories/haskell-for-beginners/">
<i class="far fa-folder fa-fw"></i>Haskell for Beginners
</a></span></div><div class="content">In this episode we will be installing Haskell, a lot of people struggle to install software to their machine and each operating system will be different, generally I advise the use of a package manger - not just to install Haskell, but to install all software. I will be making a post about Brew at some point which makes this process trivial.
MacOS MacOS my operating system of choice, to install Haskell on a MacOS system, the best method is to use a package manager such as Brew.</div><div class="post-footer">
<a href="/installing-haskell/">Read More</a><div class="post-tags">
<i class="fas fa-tags fa-fw"></i> <a href="/tags/programming/">Programming</a>, <a href="/tags/tutorial/">Tutorial</a>, <a href="/tags/haskell/">Haskell</a></div></div>
</article>
<article class="single summary" itemscope itemtype="http://schema.org/Article"><h1 class="single-title" itemprop="name headline">
<a href="/understanding-haskell-documentation/">Understanding Haskell Documentation</a>
</h1><div class="post-meta"><span class="post-author"><a href="/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw"></i>Kyle Cotton</a></span> <span class="post-publish">
published on <time datetime=26/05/2019>26/05/2019</time>
</span>
<span class="post-category">included in<a href="/categories/haskell-for-beginners/">
<i class="far fa-folder fa-fw"></i>Haskell for Beginners
</a></span></div><div class="content">In this post I will be giving an insight in reading haskell documentation
Product Example 1 2 product :: Num a => [a] -> a -- The product function computes the product of a finite list of numbers. Above is an extract from the Haskell documentation.
Line 1 shows the Type Signature of the product function, this shows the types of the inputs and the outputs in a convenient way.</div><div class="post-footer">
<a href="/understanding-haskell-documentation/">Read More</a><div class="post-tags">
<i class="fas fa-tags fa-fw"></i> <a href="/tags/programming/">Programming</a>, <a href="/tags/tutorial/">Tutorial</a>, <a href="/tags/haskell/">Haskell</a></div></div>
</article>
<ul class="pagination"><li class="page-item active">
<span class="page-link">
<a href="/">1</a>
</span>
</li><li class="page-item ">
<span class="page-link">
<a href="/page/2/">2</a>
</span>
</li><li class="page-item ">
<span class="page-link">
<a href="/page/3/">3</a>
</span>
</li></ul></div></div>
</main><footer class="footer">
<div class="footer-container"><div class="footer-line"><i class="far fa-copyright fa-fw"></i><span itemprop="copyrightYear">2019 - 2020</span><span class="author" itemprop="copyrightHolder"> <a href="/" target="_blank">Kyle Cotton</a></span> | <span class="license"><a rel="license external nofollow noopener noreffer" href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank">CC BY-NC 4.0</a></span></div>
</div>
</footer></div>
<div id="fixed-buttons"><a href="#" id="back-to-top" class="fixed-button" title="Back to Top">
<i class="fas fa-arrow-up fa-fw"></i>
</a><a href="#" id="view-comments" class="fixed-button" title="View Comments">
<i class="fas fa-comment fa-fw"></i>
</a>
</div><link rel="stylesheet" href="/lib/katex/katex.min.css"><link rel="stylesheet" href="/lib/katex/copy-tex.min.css"><script type="text/javascript">
window.config = {"code":{"copyTitle":"Copy to clipboard","maxShownLines":10},"headerMode":{"desktop":"fixed","mobile":"auto"},"math":{"delimiters":[{"display":true,"left":"$$","right":"$$"},{"display":true,"left":"\\[","right":"\\]"},{"display":false,"left":"$","right":"$"},{"display":false,"left":"\\(","right":"\\)"}],"strict":false},"search":{"highlightTag":"em","lunrIndexURL":"/index.json","maxResultLength":10,"noResultsFound":"No results found","snippetLength":30,"type":"lunr"}};
</script><script type="text/javascript" src="https://polyfill.io/v3/polyfill.min.js?features=html5shiv%2CElement.prototype.closest%2CrequestAnimationFrame%2CCustomEvent%2CPromise%2CObject.entries%2CObject.assign%2CObject.values%2Cfetch%2CElement.prototype.after%2CArray.prototype.fill%2CIntersectionObserver%2CArray.from%2CArray.prototype.find%2CMath.sign"></script><script type="text/javascript" src="/lib/smooth-scroll/smooth-scroll.min.js"></script><script type="text/javascript" src="/lib/autocomplete/autocomplete.min.js"></script><script type="text/javascript" src="/lib/lunr/lunr.min.js"></script><script type="text/javascript" src="/lib/lazysizes/lazysizes.min.js"></script><script type="text/javascript" src="/lib/object-fit-images/ofi.min.js"></script><script type="text/javascript" src="/lib/clipboard/clipboard.min.js"></script><script type="text/javascript" src="/lib/sharer/sharer.min.js"></script><script type="text/javascript" src="/lib/katex/katex.min.js"></script><script type="text/javascript" src="/lib/katex/auto-render.min.js"></script><script type="text/javascript" src="/lib/katex/copy-tex.min.js"></script><script type="text/javascript" src="/lib/katex/mhchem.min.js"></script><script type="text/javascript" src="/js/theme.min.js"></script></body>
</html>