腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(271)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
Scotty
使用MongoDB
master "nutrition" (find query >>= rest) pipe <- runIOE $ connect $ host "127.0.0.1"
浏览 2
提问于2014-05-08
得票数 4
1
回答
Scotty
web服务
到目前为止,我有以下代码:import Data.Monoid (mconcat) functionxs a = 5 get "/:word" $ do{-# LANGUAGE OverloadedStrings
浏览 3
修改于2017-05-22
得票数 0
1
回答
Haskell
scotty
对IO的行动
我试图在
Scotty
端点中做一个简单的mongoDB插入。问题是insert函数的类型返回在
Scotty
语句中不被接受。这个程序非常简单:import Web.
Scotty
import Control.Monad.Transproject, rest,
浏览 3
提问于2020-08-01
得票数 1
回答已采纳
1
回答
Scotty
post类型不允许效果
name <- param "name" renderSendMail $ forwardMail name email 我得到以下类型错误: with `Web.
Scotty
.Internal.Types.Action
浏览 5
提问于2014-08-31
得票数 4
回答已采纳
1
回答
Scotty
with Persistent and Hspec-wai
Scotty
,Persistent和Hspec-WAI。app = do --
scotty
8080 $do -- handleSomeRoute
浏览 11
提问于2016-05-14
得票数 1
1
回答
如何使“共同登录”与“`
Scotty
`”一起工作?
TL.Text m ()) ->
Scotty
.ActionT TL.Text m () Expected type:
Scotty
.ActionT TL.Text m () @(AppEnv App -> LogActi
浏览 12
修改于2021-01-08
得票数 1
回答已采纳
2
回答
Scotty
的MonadReader实例ActionT
我有那种我正试图为此创建一个MonadReader实例,这样我就不必提要求了,但是总是 where a1 ... an are *distinct type variables*, Use -XFlexibleInstances if you want to disabl
浏览 0
修改于2014-04-18
得票数 3
回答已采纳
1
回答
Scotty
和POST params
我现在对
Scotty
服务器有一个问题-- rescue对未找到的参数不起作用--我仍然可以从下面的代码中得到404: (param "subscriber
浏览 3
提问于2014-12-01
得票数 1
回答已采纳
1
回答
Scotty
+ Html ->如何将它们交织起来?
如何在
Scotty
中使用html页面(,包括 html模板)?但不是通过Blaze,因为我不喜欢用haskell代码描述它的结构。它认为我应该抢劫,但如何确切地把它与斯科蒂交织在一起?
浏览 2
提问于2016-02-24
得票数 1
回答已采纳
1
回答
Haskell
Scotty
网络服务器发送文本响应
我有以下代码,但正在收到以下错误import Web.
Scotty
middleware logStdoutDev beamt0’ is ambiguous Note: there are several potential in
浏览 0
提问于2015-02-13
得票数 2
回答已采纳
1
回答
如何测试
Scotty
端点
result <- liftIO $ retrieveResult info var queryrunApi =
scotty
浏览 29
修改于2021-05-13
得票数 1
1
回答
scotty
不会检测端口是否已在使用中?
{-# LANGUAGE OverloadedStrings #-} get "/:word" $ do html $ mconcat ["<h1>
Scotty
, ", beam, "
浏览 4
提问于2018-05-12
得票数 1
1
回答
如何使用经纱tls而不是经纱与
scotty
?
我需要用warp启动我的
scotty
应用程序,而不是普通的warp服务器,但是现在看来,warp在
scotty
的源代码中是硬连接的。我漏掉了什么明显的东西吗?
浏览 6
提问于2015-12-01
得票数 1
回答已采纳
1
回答
在
Scotty
中在编译时动态添加路由
Scotty
有一个函数,但我想动态使用它。import Web.
Scotty
middleware logStdoutDev someFunc sampleRoutes
浏览 0
修改于2015-05-18
得票数 0
回答已采纳
2
回答
关于
scotty
Haskell web框架的几个简单问题
考虑一下最简单的
scotty
应用程序:import Web.
Scotty
get "/:word" $ do html $ mconcat["<h1>
Scotty
, ", be
浏览 8
修改于2015-04-16
得票数 12
回答已采纳
1
回答
来自
Scotty
的意外404
我试图在Haskell中使用
Scotty
,然后在教程之后,我可以像这样路由一个url: name <- param "name"
浏览 2
修改于2019-12-29
得票数 3
回答已采纳
1
回答
使用
scotty
从POST请求执行shell脚本
我正在使用
scotty
,无论如何尝试从POST请求执行shell脚本,都会得到相同的类型错误。main =
scotty
3000 $ do aparameter <- param "aparameter该错误如下:• Couldn't match type ‘IO’ with ‘Web.
Scotty
.Int
浏览 4
修改于2019-12-06
得票数 1
回答已采纳
1
回答
如何在
Scotty
操作中使用System.cmd
import Web.
Scotty
putStrLn "Starting Server" getsystem "ls"但是我得到了下一个编译器错误: Couldn't match expected type ‘Web.
Scotty
.Internal.Types.ActionT
浏览 2
修改于2020-10-10
得票数 4
回答已采纳
1
回答
Haskell
scotty
和持久性rest API
我喜欢创建简单的crud rest api,并使用
scotty
和persistence。fno-warn-orphans #-}module Main whereimport Web.
Scotty
import qualified Web.
Scotty
as Simport Database.Persist.Sqlite import Databas
浏览 11
提问于2018-06-28
得票数 1
2
回答
将do替换为>>=,用于
scotty
帖子
post "/introduceAnIdea" $ do json $ handle command
浏览 3
提问于2018-09-03
得票数 4
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券