mdn / content

The content behind MDN Web Docs
https://developer.mozilla.org
Other
9.22k stars 22.5k forks source link

Add New Guide: Compiling Haskell to WebAssembly #36849

Closed tusharad closed 4 days ago

tusharad commented 4 days ago

Description

This PR introduces a new guide titled Compiling Haskell to WebAssembly under the WebAssembly section. The guide provides step-by-step instructions on how to set up the environment, compile Haskell code into WebAssembly, and integrate it into a web application. Additionally, it covers compiling a Haskell Cabal project for WebAssembly and handling data types such as strings.

Motivation

This guide aims to broaden the range of languages covered in the WebAssembly section on MDN, providing valuable resources for Haskell developers interested in WebAssembly.

Additional details

Related issues and pull requests

Question for Reviewers:

Before proceeding further, I'd like to confirm whether new content of this nature is allowed in the MDN documentation. If there are any specific guidelines or prerequisites for contributing new topics, please let me know, and I'll adjust accordingly.

Looking forward to your feedback!

Josh-Cena commented 4 days ago

As much as I love Haskell, I don't think it would be maintainable as I doubt others on the team know Haskell and in particular compiling it to Wasm. Is it possible to make this a blog post and link to it in the "see also" instead?

tusharad commented 4 days ago

As much as I love Haskell, I don't think it would be maintainable as I doubt others on the team know Haskell and in particular compiling it to Wasm. Is it possible to make this a blog post and link to it in the "see also" instead?

Sure @Josh-Cena, no problem! Closing the PR.