Find Jobs
Hire Freelancers

Haskell functions

£20-250 GBP

Closed
Posted over 4 years ago

£20-250 GBP

Paid on delivery
[login to view URL] a function count_odds that produces the number of odds in a list of numbers. For example, count_odds [1,2,3,4,7,8] should return 3. 2. Write a function remove_last_two that removes the last two elements in a list. If the list contains two or less elements, then it should return the list unchanged. For example, remove_last [1,2,3,4,5,6] should return [1,2,3,4]. 3. Using library functions, define a function halve :: [a ] → ([a ], [a ]) that splits an even-length list into two halves. For example, halve [1, 2, 3, 4, 5, 6] should return ([1, 2, 3], [4, 5, 6]). 4. Write a function min_max that takes a list of numbers and returns the minimum, as well as the maximum element in the list as a pair. For example, min_max [4,3,6,5,9,10,8] should return (3,10) as the answer. 5. Redefine the function mult x y z = x * y * z using lambda expressions. 6. Write a function primes_before that takes a natural number n and returns in a list the prime numbers that are smaller than n. For example, primes_before 10 should return [2,3,5,7]. 7. Write a function sum_average_count that takes a list of numbers and returns as a triple the sum, average and count of the numbers. For example, sum_average_count [2,4,12] should return (18,6,3). 8. Write a function to_list that takes a tuple of three components and returns the list of those components. For example, to_list (3,4,5) should return [3,4,5].
Project ID: 21814078

About the project

8 proposals
Remote project
Active 4 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
8 freelancers are bidding on average £121 GBP for this job
User Avatar
Hello! I am ready to handle the project. I am perfectly qualified for it and for a long time have been working with Haskell.
£111 GBP in 2 days
5.0 (8 reviews)
4.1
4.1
User Avatar
Hi I have been learning Haskell and employing standard numerical algorithms on Haskell to test its functional paradigms out of interest for its prospects in my new projects . During my explorations I have come across situations like yours and I'm sure I can get your job done within the time I have stated. You may consider me please. Thanks
£250 GBP in 15 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have done Haskell in University and got a first for my assignments which one of them included a full game with Haskell. I would be Great for this project as I do this with my friends who also program for a passion and we enjoy these sort of projects.
£150 GBP in 5 days
0.0 (0 reviews)
0.0
0.0
User Avatar
hi sir, I am experience with haskell . I would like to do this task. I have experience with list in haskell and tail recursion . looking for your reply
£111 GBP in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I am not that skilled in Haskell but in Common Lisp and Racket. These functions are makable for me. Looking a little into Haskell, I could transfer that knowledge into Haskell functions, too. What do you think?
£40 GBP in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, I have am master student of computer science and I work as developper also. I like it to write some code in Haskell and can accomplish your work very well. Hire me for your work to be done well at low cost.
£68 GBP in 1 day
0.0 (0 reviews)
1.0
1.0
User Avatar
Hello. I am a Haskell programmer from academia. I developed various Haskell programs including monadic ones in several projects. I understand that the project is about simple list processing. I ensure that I can complete all the functions within one day.
£100 GBP in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello, if the project still active I can help you with. I am a software developer with about 20 years of experience. One of my favorite software languages is haskell. You will get the result withing 2 or 3 days. Best wishes, Vlad
£140 GBP in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Canterbury, United Kingdom
0.0
0
Payment method verified
Member since Oct 16, 2019

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)
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.