Skip to content

Instantly share code, notes, and snippets.

Avatar

Dan McArdle dmcardle

View GitHub Profile
@dmcardle
dmcardle / homework2_scaffolding.hs
Created Jun 7, 2015
CSE305 Homework 2 Scaffolding
View homework2_scaffolding.hs
data BinaryTree a = Empty
| Node a (BinaryTree a) (BinaryTree a)
deriving (Show, Read, Eq)
--------------------------------------------------------------------------------
-- Define Your Functions Here
--
-- Define each of your answers and helper functions here. The line I have
-- written for each of the functions is not going to be part of your solution.
--------------------------------------------------------------------------------
@dmcardle
dmcardle / haskellproblems.hs
Last active Aug 29, 2015
Haskell 99 Problems
View haskellproblems.hs
{- Haskell 99 Problems
- https://wiki.haskell.org/99_questions/1_to_10
-}
reverse' :: [a] -> [a]
reverse' [] = []
reverse' (x:xs) = (reverse' xs) ++ [x]
myLast :: [a] -> a
View gist:3833ce428aaea897ff39
'''
Created on Apr 19, 2014
@author: Chris
Edited by Dan on Jul 21, 2014
'''
import os
import re
@dmcardle
dmcardle / homework.tex
Created Oct 15, 2013
This is a LaTeX template for homeworks.
View homework.tex
% LaTeX document template for CIS 275 homework assignments.
% Dan McArdle
% 10-14-2013
\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath,amsthm,amssymb}
\begin{document}
You can’t perform that action at this time.