Suljettu

looking for functional programming expert ( racket, scheme )

“[login to view URL]” to Gradescope.

You may NOT use any of Scheme’s imperative features (assignment/loops) or anything else not covered in

class. You should use Racket ([login to view URL]) for your implementation. For all problems, you can

assume all inputs obey the types as specified in a problem.

Testing and Auto Grading We will use the Gradescope Autograder feature to grade the assignment. So it is

important to start from the code template “[login to view URL]” on Canvas, which only has dummy implementationsbut

is nevertheless useful since it obeys a few important requirements for auto grading, such as file name,

function names etc

one of the example problem is

we define Church number n as λf n: (fn z), where (fn z) represents the

n-fold composition of function f applied to z (i.e., f(f(: : : (f z))) where f is repeated for n times).

a) (5pt) Implement a function funPower, which takes a function f, an integer n and returns the function

fn. For example, ((funPower sqrt 2) 16) should return 2.

b) (5pt) Implement a function encode, which takes a natural number n and returns the church encoding of

n. For example, (encode 2) should return 2 (i.e., the function λf: λz: f (f z)).

c) (5pt) Implement a function decode, which takes n (the church encoding of some natural number n) and

returns n. For example, (decode (encode 2)) should return 2.

d) (5pt) Implement a function MULT, which takes two church numbers n1, n2 and returns the church number

of n1 × n2 (i.e., n1 × n2). For example, (decode (MULT (encode 2) (encode 3))) should be 6.

Taidot: Scheme, Racket, Prolog, Golang, Lisp

Näytä lisää: looking edi programming projects, haskell functional programming institutes banglore, looking automotive embedded expert, racket vs haskell, racket programming language syntax, racket programming book, racket tutorial, learn racket, drracket, dr scheme, scheme ide, looking young php expert, looking google maps expert, poll programming expert, looking hire programming service, looking joomla seo expert, looking google map expert, money online functional programming, programming expert advisor mql4 tutorial, looking excel programming

Tietoa työnantajasta:
( 416 arvostelua ) Mutrah, Oman

Projektin tunnus: #27463190

4 freelancers are bidding on average $58 for this job

(142 arvostelua)
6.7
koustav2006

HI..I am proficient in Scheme/Lisp/Racket programming using DrRacket IDE and can help you write Scheme functions for problem solving and simulation. **** Please contact me in Chat first so that we can discuss further Lisää

$80 USD 2 päivässä
(12 arvostelua)
4.1
CarinaDe

Hi! I am specialised in functional programming (Racket/ Scheme/ Dr Racket) and have a lot of experience in helping with assignments. I think I can really help you with this (and future works) so please give me a messa Lisää

$30 USD 2 päivässä
(3 arvostelua)
2.4
rohitangira

hiii , i just read your task discription and its really jumped out at me beacuse i have done a racket based project recently regarding data structure and algorithms you can check it here : https://www.freelancer.com/p Lisää

$70 USD 2 päivässä
(1 arvostelu)
1.6