Find Jobs
Hire Freelancers

looking for functional programming expert ( racket, scheme )

$10-30 USD

Closed
Posted over 3 years ago

$10-30 USD

Paid on delivery
“[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.
Project ID: 27463190

About the project

4 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $58 USD for this job
User Avatar
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 *****
$80 USD in 2 days
4.8 (12 reviews)
4.1
4.1
User Avatar
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 message. :) Carina
$30 USD in 2 days
5.0 (3 reviews)
2.4
2.4
User Avatar
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/projects/algorithm/Scheme-DrRacket-binary-Search-Tree or check my letest review i am confident that i can do your task perfectly , as far as my carrer is concerned i have 3+ experience in software enginerring although i am a new freelancer but it does not describe my skills at all just give ma a chance to work for you i will give my 100 % and will provide a nice solution Regards Rohit K
$70 USD in 2 days
5.0 (1 review)
1.6
1.6

About the client

Flag of OMAN
Mutrah, Oman
4.9
418
Payment method verified
Member since Nov 17, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.