Can we use Haskell for web development with the Razor engine?

I am very new to Haskell, but since it is a functional programming language (easy-to-use functions), I have some interest in working with it. I'm currently developing a Windows azure application, I thought there was a way to integrate Haskell with the Razor engine, so I can use it. Is there any resource (internet link) for using Haskell with Razor.Can we use Haskell with .net language (how do I develop using Webmatrix3)?

For instance,

PICTURE CODE WITH COMMENTS

@* A logic that calls haskell Uses a link to acess a haskell file(*.hs) goes to prelude Prelude> pi*r^2 uses a function can we apply Haskell this way in Razor *@ 
+4
source share
1 answer

One approach would be to use something like a hint to invoke ghc as a service: http://hackage.haskell.org/package/hint

You can also use mueval if you remove posix dependencies in it: http://hackage.haskell.org/package/mueval

+1
source

Source: https://habr.com/ru/post/1481720/


All Articles