Skip to content

phone-number.wat entry template is empty #138

Closed
@atk

Description

@atk
Contributor

We should at least provide a function signature, e.g.

(module
  (memory (export "mem") 1)

  ;;
  ;; Returns a cleaned valid phone number or an empty string if invalid
  ;;
  ;; @param {i32} offset - The offset of the phone number in linear memory.
  ;; @param {i32} length - The length of the phone number in linear memory.
  ;;
  ;; @returns {(i32,i32)} - Offset and length of cleaned phone number or empty string
  ;;                        in linear memory.
  ;;
  (func (export "clean") (param $offset i32) (param $length i32) (result i32 i32)

  )
)

Activity

github-actions

github-actions commented on Jan 2, 2025

@github-actions

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.

added a commit that references this issue on Jan 5, 2025
b6280ce
added a commit that references this issue on Jan 10, 2025
9ff44b1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @atk@keiravillekode

      Issue actions

        phone-number.wat entry template is empty · Issue #138 · exercism/wasm