Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having issue runing test for F# 'Accumulate' exercise #212

Closed
pstarliu opened this issue Mar 30, 2024 · 2 comments
Closed

Having issue runing test for F# 'Accumulate' exercise #212

pstarliu opened this issue Mar 30, 2024 · 2 comments

Comments

@pstarliu
Copy link

Hi, I think there is an issue with F# online editor test.

I've already submitted a bug using the 'Rpeort a bug' function on the editor, apology for the duplication, but I didn't receive any confirmation of the bug I submitted. So I decided to submit the bug report again here as it's easier for me to follow up and see the progress of the bug.

When I am running tests, it always gives me the error message "An ERROR OCCURED" without details:
image

I can't tell if there is any issue with the code, which is relatively simple, and it runs fine inside Visual Studio 2022, so I assume it's a bug in the online editor test runner.

Here is my code if it helps:

module Accumulate

let rec accumulate (func: 'a -> 'b) (input: 'a list): 'b list = 
    match input with
    | [] -> []
    | h :: t -> (func h) :: (accumulate func t)


Copy link

Hello. Thanks for opening an issue on Exercism 🙂

At Exercism we use our Community Forum, not GitHub issues, as the primary place for discussion. That allows maintainers and contributors from across Exercism's ecosystem to discuss your problems/ideas/suggestions without them having to subscribe to hundreds of repositories.

This issue will be automatically closed. Please use this link to copy your GitHub Issue into a new topic on the forum, where we look forward to chatting with you!

If you're interested in learning more about this auto-responder, please read this blog post.

@pstarliu pstarliu changed the title Having issue runing test in F# for 'Accumulate' exercise Having issue runing test for F# 'Accumulate' exercise Mar 30, 2024
@pstarliu
Copy link
Author

I am aware of the existing issue: exercism/fsharp#1022
it might be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant