Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7617725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T03:13:12+00:00 2026-05-31T03:13:12+00:00

I have a side-effective operation securities |> Seq.map (fun x -> request.Append(securities,x)) What is

  • 0

I have a side-effective operation

     securities |> Seq.map (fun x -> request.Append("securities",x))

What is the most idiomatic way to have the code perform ?

I wrote a Seq.Doit, but it itches

  module Seq =
     let Doit sa = sa |> Seq.toArray |> ignore
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T03:13:13+00:00Added an answer on May 31, 2026 at 3:13 am

    Deferred sequences are used when you create sequences using Seq.delay or sequence expression seq{}. Any function on sequence returning any datatype other than seq can force computation.

    Alternatively, you can use for loop instead of Seq.iter:

    for s in securities do
       request.Append("securities", s)
    

    If you want to hide side effects and return request for later use, Seq.fold is a good choice:

    securities |> Seq.fold (fun acc x -> acc.Append("securities", x); acc) request
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'll start in the way most people seem to have taken to, on here....
I am trying to figure out the most efficient / effective way of performing
I have two side borders on my website, left and right side... small image
Predis claim to have Client-side sharding (support for consistent hashing of keys). http://github.com/nrk/predis I
I have, what I estimate, to be a simple problem. I have a side
We have a client side application (Java/Swing) that we need an HTML rendering control
I have a little side project where I allow radius search. You input a
Suppose I have a client side app that sends out requests to a rails
I have a chrome extension which have a server-side javascript and I need this
I am trying to have my client side validation (model binding) to support different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.