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

  • Home
  • SEARCH
  • 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 9014423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:30:13+00:00 2026-06-16T03:30:13+00:00

In our project we use fsi.AddPrinter for printing type formula<fol>. To make it easier

  • 0

In our project we use fsi.AddPrinter for printing type formula<fol>.

To make it easier we include fsi.AddPrinter sprint_fol_formula in our fsx files to transform the AST results into human readable results.

val inline sprint_fol_formula : formula<fol> -> string

In the process of creating test cases we also output both the AST result and the human readable result.

The AST result is the result of processing the formulas. To transform the AST into human readable format in the unit test we just use sprint_fol_formula astResult.

Now if the result is formula<fol> list instead of formula<fol>, the correct result will be output when using FSI, but sprint_fol_formula does not accept formula<fol> list.

The only reasonable answer I can conclude for the difference is that fsi.AddPrinter has the built-in ability to take a list apart and then print each type individually.

Is this true, or did I miss something?

If this is true, can you add a refernce where this is documented.

  • 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-06-16T03:30:14+00:00Added an answer on June 16, 2026 at 3:30 am

    What happens is quite simple. There is a printer for 'a list, which prints each element in the list (or only the first ones, depending on their textual lengths and the list’s length), and formats it nicely ([ _; _; _; ... ]. When prints the items, it uses your printer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We use custom type to represent Identifiers in our project. It has TypeConvertor attached
In our project we use jackrabbit with spring and tomcat to manage pdf files.
Our situation: We want to use git to manage our project files. So we've
We use a lot of legacy package.html files in our project and we want
In our project we use test data that is stored inside .sql files that
I can't make GWT it generate valid XHTML. On our project we use table
In our project we both use input type=hidden elements and divs with display:none css
When I compile our project use Delphi 2010 Trial, there has a fatal error
In our project we use Zend Framework Model generator, which produces something like this
In our project we use jQuery 1.4.4 and jQuery UI 1.8.7 now. But we

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.