term_to_atom/2 in Sicstus?

From: Manuel Kirschner (skitrip2003_at_gmx.de)
Date: 08/03/04

  • Next message: Mats Carlsson: "Re: term_to_atom/2 in Sicstus?"
    Date: 3 Aug 2004 01:35:35 -0700
    
    

    Hello,

    I use Sicstus, and I'm looking for a way to map a term to an atom,
    just like what the SWI internal term_to_atom/2 does.
    I was thinking about write'ing the term to a stream, but I don't want
    to open a temp file just for that purpose.
    Would this be easy to do as a c function (Haven't done any c
    interfacing yet)? Maybe someone knows a different (less cumbersome)
    way of doing this in Sicstus.

    Thanks for your help
    Manuel


  • Next message: Mats Carlsson: "Re: term_to_atom/2 in Sicstus?"