Skip to content

UA CS 403 Programming Languages class with Dr. Borie

Notifications You must be signed in to change notification settings

jblairkiel/UA-CS-403

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UA-CS-403

UA CS 403 Programming Languages class with Dr. Borie during 2017 Spring semester. Many of the practice problems in this repo can be found at cs403.cs.ua.edu/spring2017/exercises.htm.

Scheme

Scheme is a unique functional language that uses too many parenthesis. Even though this may be one of your last classes in the CS curriculum at UA, the effort required to balance parenthesis in this language will prompt you to consider throwing it all away and switching majors to MIS.

My prefered method to write a function in scheme and remain sane is to balance the parenthesis vertically for each function such as:

(define (count L)
	(if (null? L)
		0
		(+ 1 (count (cdr L)))
	)	
)

Resources:

GLHF

Haskell

Haskell is pure functional language (no side-effects). It looks similiar to Scheme, but without the parenthesis and more built-in functions. You must declare the function's return type and parameter types, and will make you want to pull your hair out.

Resources:

Prolog

About

UA CS 403 Programming Languages class with Dr. Borie

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published